Dave Halter
|
d9e711ab11
|
Fix remaining Python 3.7 issues to get the tests to pass
|
2018-12-06 00:35:09 +01:00 |
|
Dave Halter
|
3260867918
|
Move the stdlib namedtuple template of 3.6 to Jedi.
|
2018-12-06 00:34:52 +01:00 |
|
Dave Halter
|
d90011c002
|
Cleanup a few issues with the latest module refactoring
|
2018-12-05 22:55:56 +01:00 |
|
Dave Halter
|
2406c8374f
|
StubModuleContext is now a wrapped context
|
2018-12-05 21:33:23 +01:00 |
|
Dave Halter
|
3d4f241129
|
Cache Script._get_module
|
2018-12-05 18:18:26 +01:00 |
|
Dave Halter
|
9766abf1c5
|
Fix a small caching issue
|
2018-12-05 18:17:33 +01:00 |
|
Dave Halter
|
feefde400e
|
Fix mro for typing classes
|
2018-12-05 00:16:06 +01:00 |
|
Dave Halter
|
15ae767a79
|
Fix mro detail
|
2018-12-05 00:07:21 +01:00 |
|
Dave Halter
|
b293e8e9e1
|
Reintroduce CompiledStubName, because we actually need it for positions
|
2018-12-04 19:25:01 +01:00 |
|
Dave Halter
|
bb0bf41cab
|
Use ClassMixin the right way in typing
|
2018-12-04 00:36:53 +01:00 |
|
Dave Halter
|
b2c0597a7d
|
Fix names for typing classes
|
2018-12-03 00:56:19 +01:00 |
|
Dave Halter
|
3c3ad7b240
|
Add a generator cache for py__mro__
|
2018-12-03 00:51:45 +01:00 |
|
Dave Halter
|
a7c21eff4b
|
Move py__mro__ to ClassMixin
|
2018-12-01 15:24:21 +01:00 |
|
Dave Halter
|
6b86ad9083
|
Move py__mro__ calls to direct calls, because it's defined on ClassMixin
|
2018-12-01 15:17:22 +01:00 |
|
Dave Halter
|
2b268435c4
|
Make some profile output better
|
2018-12-01 13:35:29 +01:00 |
|
Dave Halter
|
07d48df314
|
Make it possible to have higher precision with pstats displayed
|
2018-12-01 11:45:09 +01:00 |
|
Dave Halter
|
a07b062752
|
Merge StubName and CompiledNameWithStub
|
2018-11-30 23:36:30 +01:00 |
|
Dave Halter
|
dd1e53b498
|
Small refactoring
|
2018-11-28 22:48:33 +01:00 |
|
Dave Halter
|
2eb5e9b42d
|
Improve the profiling script
|
2018-11-28 22:48:13 +01:00 |
|
Dave Halter
|
5e6e4356fc
|
Start using gather_annotation_classes
|
2018-11-27 01:17:12 +01:00 |
|
Dave Halter
|
5bb88ca703
|
Make it possible to gather annotation classes for Union and Optional
|
2018-11-27 01:14:15 +01:00 |
|
Dave Halter
|
eb27c64c71
|
Make os.path import issues clearer
|
2018-11-25 19:25:21 +01:00 |
|
Dave Halter
|
644e292fa7
|
Get rid of is_super_class and do some different things in analysis
|
2018-11-24 14:09:14 +01:00 |
|
Dave Halter
|
021d1bc568
|
py__iter__ now takes a contextualized_node argument and raises the analysis errors itself
|
2018-11-23 18:22:38 +01:00 |
|
Dave Halter
|
12a0357f6b
|
Remove class_context from BoundMethod, it's not really needed anymore
|
2018-11-23 00:11:39 +01:00 |
|
Dave Halter
|
55982d699b
|
Use AnnotatedSubClass for Async classes like everywhere else as stubs
|
2018-11-23 00:03:32 +01:00 |
|
Dave Halter
|
1948f23fb3
|
Fix some issues around stub methods
|
2018-11-21 23:47:40 +01:00 |
|
Dave Halter
|
cb3cd3022d
|
get_signatures should automatically use the stubs if possible
|
2018-11-19 09:58:35 +01:00 |
|
Dave Halter
|
d2c0b13a02
|
Fix some small small issues around the latest commits
|
2018-11-18 23:53:56 +01:00 |
|
Dave Halter
|
cf6cae728a
|
Some issues with inheritance
|
2018-11-18 22:29:52 +01:00 |
|
Dave Halter
|
8b039287c8
|
Try to use a CompiledStubClass to wrap functions inside classes
|
2018-11-18 17:43:46 +01:00 |
|
Dave Halter
|
75203c55f8
|
Make some things clearer around CompiledStubs
|
2018-11-16 09:49:46 +01:00 |
|
Dave Halter
|
aeeb4880b1
|
Use the right context (stub) to check if we should use a CompiledStubClass or not
|
2018-11-14 22:59:49 +01:00 |
|
Dave Halter
|
d5d7679120
|
Fix a few of the issues with compiled classes and typeshed and docs
|
2018-11-14 19:19:56 +01:00 |
|
Dave Halter
|
986c69abea
|
Simplify some more call signature things
|
2018-11-11 22:44:32 +01:00 |
|
Dave Halter
|
a73c7092bb
|
Change signature a little bit
|
2018-11-11 22:36:05 +01:00 |
|
Dave Halter
|
3ecae30b5c
|
Delete old get_param_names code in API.
|
2018-11-11 19:45:00 +01:00 |
|
Dave Halter
|
6dc53c3887
|
Add at least partial support for signatures for builtins
|
2018-11-11 19:32:29 +01:00 |
|
Dave Halter
|
4fbede7445
|
Rework some call signature issues
|
2018-11-11 17:01:12 +01:00 |
|
Dave Halter
|
c29cde6784
|
Refactor the call signatures to avoid getting multiple call signatures for some overloaded objects
|
2018-11-07 23:58:25 +01:00 |
|
Dave Halter
|
f610af36c6
|
Don't use get_function_slot_names in classes anymore
|
2018-11-07 09:49:59 +01:00 |
|
Dave Halter
|
d8090cfa0a
|
Start implementing get_signatures
|
2018-11-07 01:20:39 +01:00 |
|
Dave Halter
|
b847bb1c72
|
Some minor test changes to get typeshed almost fully working
|
2018-11-06 09:00:07 +01:00 |
|
Dave Halter
|
4491175db4
|
Fix an issue with namedtuples when using strings as params
|
2018-11-06 08:59:30 +01:00 |
|
Dave Halter
|
d0fa228282
|
Change a test temporarily
|
2018-11-05 23:56:51 +01:00 |
|
Dave Halter
|
faacfb9578
|
One test needs to change a bit
|
2018-11-05 00:28:51 +01:00 |
|
Dave Halter
|
26329de5a5
|
Underscored objects in stubs are not public and should never be listed
|
2018-11-03 14:36:46 +01:00 |
|
Dave Halter
|
1eb8658922
|
Fix issues with itemgetter
|
2018-11-03 13:57:15 +01:00 |
|
Dave Halter
|
8fa3f093a1
|
Prefer stub contexts in bound methods
|
2018-11-02 16:32:38 +01:00 |
|
Dave Halter
|
fbc327b960
|
Refactor py__get__ support pretty heavily
|
2018-11-01 19:09:07 +01:00 |
|
Dave Halter
|
52aa5b6764
|
The builtins/typing module are not causing recursions. They are using annotations to give results.
|
2018-10-31 09:58:20 +01:00 |
|
Dave Halter
|
4a5cb389b7
|
Revert "Remove a function that is no longer needed"
This reverts commit 3581ce7059.
|
2018-10-30 23:35:02 +01:00 |
|
Dave Halter
|
f2d67f4a5d
|
Make version_info understandable so it can be used in for typeshed
|
2018-10-30 23:31:57 +01:00 |
|
Dave Halter
|
3581ce7059
|
Remove a function that is no longer needed
|
2018-10-30 22:01:09 +01:00 |
|
Dave Halter
|
0a67b387c6
|
Fix most issues with dynamic arrays
|
2018-10-29 21:05:12 +01:00 |
|
Dave Halter
|
a352fc8595
|
Fix an issue with recursion for arrays
|
2018-10-26 00:26:23 +02:00 |
|
Dave Halter
|
a93dff2673
|
Fix star_expr unpacking issues. For now star_expr is not supported
|
2018-10-26 00:17:28 +02:00 |
|
Dave Halter
|
7856d27724
|
Clarify something about contexts
|
2018-10-24 00:45:06 +02:00 |
|
Dave Halter
|
da3ffd8bd0
|
Typo
|
2018-10-24 00:41:17 +02:00 |
|
Dave Halter
|
742179ee38
|
Add __class__, because of how it's represented as a property
|
2018-10-24 00:39:11 +02:00 |
|
Dave Halter
|
d5d9e51f66
|
Move py__call__to FunctionMixin
|
2018-10-24 00:33:07 +02:00 |
|
Dave Halter
|
19096f83db
|
Hide a warning in some cases
|
2018-10-24 00:11:07 +02:00 |
|
Dave Halter
|
2f3fb54ebb
|
Add another test for __itemsize__
|
2018-10-23 23:33:43 +02:00 |
|
Dave Halter
|
e12f9d5a1c
|
Fix a small oversight about type
|
2018-10-23 23:31:55 +02:00 |
|
Dave Halter
|
a45d86c2a4
|
The sqlite3 test was not correct and depends if there is a RowFactory present
|
2018-10-23 09:46:09 +02:00 |
|
Dave Halter
|
be58b627b2
|
Upgrade typeshed
|
2018-10-21 00:35:28 +02:00 |
|
Dave Halter
|
b008a525cb
|
Fix some more things to get async working
|
2018-10-21 00:35:07 +02:00 |
|
Dave Halter
|
228440c03f
|
Better wrapping of BoundMethod
|
2018-10-18 19:18:20 +02:00 |
|
Dave Halter
|
dddd302980
|
Fix issues with listing type vars
|
2018-10-10 02:05:23 +02:00 |
|
Dave Halter
|
5d44e1991f
|
Create better class filters
|
2018-10-10 01:45:10 +02:00 |
|
Dave Halter
|
55f0966a9a
|
StubClassContext is now also a ContextWrapper
|
2018-10-09 22:53:33 +02:00 |
|
Dave Halter
|
7daa26ce81
|
Move some functions in the base context to make ContextWrapper more usable
|
2018-10-09 10:00:17 +02:00 |
|
Dave Halter
|
8dca2b81e4
|
Start using ContextWrapper for annotated classes
|
2018-10-09 09:58:19 +02:00 |
|
Dave Halter
|
b14b3d1012
|
Better debugging
|
2018-10-06 16:42:02 +02:00 |
|
Dave Halter
|
43c04a71a8
|
The generics of a class of anonymous instances should never be inferred
|
2018-10-05 19:06:41 +02:00 |
|
Dave Halter
|
9313fb9021
|
Avoid an issue with dict comprehensions
|
2018-10-05 19:03:32 +02:00 |
|
Dave Halter
|
380f0ac404
|
Fix itemgetter for tuples
|
2018-10-05 10:51:52 +02:00 |
|
Dave Halter
|
1b8c87215d
|
Fix an _sqlite3 issue temporarily
|
2018-10-05 10:51:39 +02:00 |
|
Dave Halter
|
65340e6e24
|
Some more work on the filter merging
|
2018-10-05 01:57:34 +02:00 |
|
Dave Halter
|
f96a14e7f4
|
Start rewriting the StubFilter
|
2018-10-03 23:01:56 +02:00 |
|
Dave Halter
|
ad83f5419a
|
Merge branch 'master' into typeshed
|
2018-10-02 19:07:59 +02:00 |
|
Dave Halter
|
bd1010bbd2
|
Create a new 0.13.1 release
|
2018-10-02 19:07:35 +02:00 |
|
Dave Halter
|
23b3327b1d
|
Fixed completions of global vars and tensorflow slowness, fixes #1228, #1116
|
2018-10-02 15:28:51 +02:00 |
|
Dave Halter
|
075577d50c
|
The changelog date was wrong
|
2018-10-02 15:25:31 +02:00 |
|
Dave Halter
|
96b57f46cb
|
Release notes for 0.13.0
|
2018-10-02 01:14:28 +02:00 |
|
Dave Halter
|
c24eb4bd67
|
Fix tensorflow issues with a few hacks (temporary), fixes #1195
|
2018-10-02 00:52:11 +02:00 |
|
Dave Halter
|
862f611829
|
If the VIRTUAL_ENV variable changes, need to reload the default environment, fixes #1201, #1200
|
2018-09-30 19:07:48 +02:00 |
|
Dave Halter
|
f9cbc65f2d
|
Return SameEnvironment as a default, fixes #1226, #1196
|
2018-09-30 14:07:37 +02:00 |
|
Dave Halter
|
e1f9624bd4
|
Document that using the REPL autocompletion is only available on Linux/Mac, fixes #1184
|
2018-09-30 13:36:05 +02:00 |
|
Dave Halter
|
6a2a2a9fa1
|
Fix an issue with f-strings, fixes #1224
|
2018-09-30 13:26:54 +02:00 |
|
Dave Halter
|
4545d91929
|
Ignore some errors that are happening when the Python process ends and its subprocesses are cleaned up
|
2018-09-30 13:26:26 +02:00 |
|
Dave Halter
|
ba5abf4700
|
Change some tests slightly
|
2018-09-30 00:35:45 +02:00 |
|
Dave Halter
|
78f0cc9e8a
|
Better indentation when running run.py
|
2018-09-29 01:19:36 +02:00 |
|
Dave Halter
|
d6bdb206c8
|
Remove the old typing module support in favor of the new one
|
2018-09-29 01:09:09 +02:00 |
|
Dave Halter
|
6539031d5a
|
Remove CompiledStubClassContext, it's not used currently
|
2018-09-29 00:59:13 +02:00 |
|
Dave Halter
|
f35c233289
|
Fix some small issues with resulting types
|
2018-09-28 18:22:57 +02:00 |
|
Dave Halter
|
fbd72179a1
|
Define generics from a different function
|
2018-09-28 18:16:24 +02:00 |
|
Dave Halter
|
af5d9d804e
|
A better way to define generics
|
2018-09-28 09:25:12 +02:00 |
|
Dave Halter
|
8e8271cf54
|
Refactor dict/set/list/tuple literal generic inferring
|
2018-09-27 00:01:35 +02:00 |
|
Dave Halter
|
b5b0214c3c
|
Fix forward reference resolving
|
2018-09-26 09:18:04 +02:00 |
|