1
0
forked from VimPlug/jedi
Commit Graph

71 Commits

Author SHA1 Message Date
Dave Halter
3829ef4785 Fix some small things to get more tests passing 2019-07-01 21:52:03 -07:00
Dave Halter
a9ff58683e Fix ClassVar filter for instances 2019-06-26 22:56:30 +02:00
Dave Halter
2cf1797465 Caching for get_parent_scope 2019-06-18 10:04:10 +02:00
Jean Cavallo
ce97b0a5e7 Make sure py__bases__always return something 2019-06-13 09:37:51 +02:00
Dave Halter
ec7b6b8d80 Fix stub function inferrals 2019-05-28 01:51:37 +02:00
Dave Halter
1002acf907 Rename AnnotatedClass to GenericClass 2019-05-27 21:21:42 +02:00
Dave Halter
bee9bd7621 given_types -> generics 2019-05-27 21:08:19 +02:00
Dave Halter
d241c31e3c Try to make qualified_names access clearer 2019-05-22 10:10:37 +02:00
Dave Halter
ea490b9a2b Remove remap_type_vars, which was never used 2019-05-19 16:15:52 +02:00
Dave Halter
05a3d7a3bc Remove _create_class_filter, it was unused 2019-05-19 14:06:21 +02:00
Dave Halter
895eae1d54 Move all Name classes to a separate file 2019-05-07 00:30:16 +02:00
Dave Halter
2cb1bd162f Better signature support for docstrings 2019-05-05 19:09:21 +02:00
Dave Halter
0e42df2da7 Refactor Jedi so we use stub modules as much as possible 2019-05-01 00:52:02 +02:00
Dave Halter
2fc53045c7 Goto stubs if on definition 2019-03-31 01:19:35 +01:00
Dave Halter
234f3d93cd Rewrite py__package__ to return a list 2019-03-18 10:01:18 +01:00
Dave Halter
59c7623769 Move annotation pep0484 file (about anontations) to gradual folder 2018-12-24 17:48:21 +01:00
Dave Halter
e2ab4c060f Move all the gradual typing stuff into one folder 2018-12-24 17:40:47 +01:00
Dave Halter
15ae767a79 Fix mro detail 2018-12-05 00:07:21 +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
a73c7092bb Change signature a little bit 2018-11-11 22:36:05 +01:00
Dave Halter
4fbede7445 Rework some call signature issues 2018-11-11 17:01:12 +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
fbc327b960 Refactor py__get__ support pretty heavily 2018-11-01 19:09:07 +01:00
Dave Halter
e12f9d5a1c Fix a small oversight about type 2018-10-23 23:31:55 +02:00
Dave Halter
5d44e1991f Create better class filters 2018-10-10 01:45:10 +02:00
Dave Halter
8dca2b81e4 Start using ContextWrapper for annotated classes 2018-10-09 09:58:19 +02:00
Dave Halter
65340e6e24 Some more work on the filter merging 2018-10-05 01:57:34 +02:00
Dave Halter
fbd72179a1 Define generics from a different function 2018-09-28 18:16:24 +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
994e7d1910 Fix an issue with type vars 2018-09-22 21:00:42 +02:00
Dave Halter
9807a7f038 Infer dict.get() in a fancy way 2018-09-19 01:50:35 +02:00
Dave Halter
57fa5f5bd9 Fix some signature matching for methods 2018-09-18 23:48:26 +02:00
Dave Halter
1b11162132 Quite a few changes to prepare arrays 2018-09-18 00:17:51 +02:00
Dave Halter
9ece2844f4 Better is_same_class function 2018-09-13 22:41:30 +02:00
Dave Halter
bd3bd2e53b Fix type completions on classes 2018-09-09 15:51:42 +02:00
Dave Halter
eac8cfe63d Fix mro 2018-09-08 17:04:07 +02:00
Dave Halter
91a18ec63c Try to re-implement reversed 2018-09-07 23:00:32 +02:00
Dave Halter
9e7879d43f Move py__mro__ to a separate function 2018-09-07 00:46:54 +02:00
Dave Halter
a5e6f26267 get_filters should always have the default search_global=False 2018-09-06 01:06:09 +02:00
Dave Halter
1fce0b45f4 Fix subscriptlist unpacking in Generics 2018-08-30 00:52:22 +02:00
Dave Halter
a884b6c782 Fix forward references for some things 2018-08-29 01:12:19 +02:00
Dave Halter
bd5af5f148 More preparations for annotated classes 2018-08-27 20:13:35 +02:00
Dave Halter
ac7ce7c481 Start implementing overload function 2018-08-26 03:37:26 +02:00
Dave Halter
465264e07d Start getting inheritance working with e.g. typing.Iterable 2018-08-25 22:01:36 +02:00
Dave Halter
3526def0a0 Make a lot of progress with typeshed/typing 2018-08-25 02:35:31 +02:00
Dave Halter
05cf6af546 Implement a lot more for typing 2018-08-24 01:13:54 +02:00
Dave Halter
84b89f4689 Rename py__getitem__ to py__simple_getitem 2018-08-10 19:31:19 +02:00