Dave Halter
|
e2ab4c060f
|
Move all the gradual typing stuff into one folder
|
2018-12-24 17:40:47 +01:00 |
|
Dave Halter
|
24174632d4
|
Fix some bugs of the last few commits
|
2018-12-22 22:08:54 +01:00 |
|
Dave Halter
|
33b73d7fbc
|
Typing does not need to be installed for Jedi to work, vendored typeshed is enough
|
2018-12-16 17:26:56 +01:00 |
|
Dave Halter
|
af51c9cc33
|
Fix Python 3 with Python 2 environment issues
|
2018-12-16 17:13:02 +01:00 |
|
Dave Halter
|
46da1df5ae
|
Add an assert that makes it impossible to nest classes of the same type
|
2018-12-14 09:37:30 +01:00 |
|
Dave Halter
|
b6cb1fb72d
|
Rewrite the typeshed algorithm of matching actual and stub classes
|
2018-12-13 09:32:57 +01:00 |
|
Dave Halter
|
aa4846bff6
|
If the stub module is not a package but the actual module is, it should not fail the import
|
2018-12-09 13:39:40 +01:00 |
|
Dave Halter
|
ae1f5fa511
|
Fix namedtuples and reactivate tests for Python 2
|
2018-12-09 12:41:58 +01:00 |
|
Dave Halter
|
decb5046ea
|
Some Python 2.7 fixes
|
2018-12-07 08:58:17 +01:00 |
|
Dave Halter
|
c446bcf885
|
Fix Python 3.5 issues
|
2018-12-06 00:59:56 +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
|
2406c8374f
|
StubModuleContext is now a wrapped context
|
2018-12-05 21:33:23 +01:00 |
|
Dave Halter
|
b293e8e9e1
|
Reintroduce CompiledStubName, because we actually need it for positions
|
2018-12-04 19:25:01 +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
|
a07b062752
|
Merge StubName and CompiledNameWithStub
|
2018-11-30 23:36:30 +01:00 |
|
Dave Halter
|
eb27c64c71
|
Make os.path import issues clearer
|
2018-11-25 19:25:21 +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
|
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
|
4491175db4
|
Fix an issue with namedtuples when using strings as params
|
2018-11-06 08:59:30 +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
|
fbc327b960
|
Refactor py__get__ support pretty heavily
|
2018-11-01 19:09:07 +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
|
b008a525cb
|
Fix some more things to get async working
|
2018-10-21 00:35:07 +02:00 |
|
Dave Halter
|
dddd302980
|
Fix issues with listing type vars
|
2018-10-10 02:05:23 +02:00 |
|
Dave Halter
|
55f0966a9a
|
StubClassContext is now also a ContextWrapper
|
2018-10-09 22:53:33 +02:00 |
|
Dave Halter
|
8dca2b81e4
|
Start using ContextWrapper for annotated classes
|
2018-10-09 09:58:19 +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
|
6539031d5a
|
Remove CompiledStubClassContext, it's not used currently
|
2018-09-29 00:59:13 +02:00 |
|
Dave Halter
|
bdff4e21a8
|
Fix classmethod issues
|
2018-09-25 00:19:55 +02:00 |
|
Dave Halter
|
f1b45bed96
|
Fix some property issues
|
2018-09-24 22:22:50 +02:00 |
|
Dave Halter
|
fe41c29b29
|
Implement iter, it's probably necessary
|
2018-09-24 21:10:54 +02:00 |
|
Dave Halter
|
75a02a13d9
|
Use ContextSet closer to they way how Python's set works
|
2018-09-24 20:30:57 +02:00 |
|
Dave Halter
|
eb9a852443
|
Remove fakes, RIP
|
2018-09-17 02:25:01 +02:00 |
|
Dave Halter
|
9ece2844f4
|
Better is_same_class function
|
2018-09-13 22:41:30 +02:00 |
|
Dave Halter
|
a646d930c8
|
Use some solid caching for typing
|
2018-09-12 22:58:35 +02:00 |
|
Dave Halter
|
190a531daa
|
Fix the reversed object
|
2018-09-10 00:30:24 +02:00 |
|
Dave Halter
|
7fff203360
|
Fix the next builtin
|
2018-09-09 16:20:23 +02:00 |
|
Dave Halter
|
bd3bd2e53b
|
Fix type completions on classes
|
2018-09-09 15:51:42 +02:00 |
|
Dave Halter
|
6abd96a398
|
Try to introduce a few new classes to better deal with compiled objects
|
2018-09-08 17:48:00 +02:00 |
|