1
0
forked from VimPlug/jedi
Commit Graph

288 Commits

Author SHA1 Message Date
Dave Halter a2931d7a48 Introduce is_bound_method 2019-05-22 10:19:47 +02:00
Dave Halter d241c31e3c Try to make qualified_names access clearer 2019-05-22 10:10:37 +02:00
Dave Halter 146ddd5669 Fix a few unicode accesses for Python 2 2019-05-19 17:52:35 +02:00
Dave Halter ea490b9a2b Remove remap_type_vars, which was never used 2019-05-19 16:15:52 +02:00
Dave Halter 7ec76bc0b5 Remove get_matching_functions, it was unused code 2019-05-19 16:06:22 +02:00
Dave Halter 1b668966ce Better completions for MethodType 2019-05-19 14:27:09 +02:00
Dave Halter c4f0c7940f Remove MODULE_CLASS in favor of a typeshed solution 2019-05-19 14:22:03 +02:00
Dave Halter f9eedfbf64 Remove FUNCTION_CLASS, in favor of a typeshed solution 2019-05-19 14:19:30 +02:00
Dave Halter 05a3d7a3bc Remove _create_class_filter, it was unused 2019-05-19 14:06:21 +02:00
Dave Halter 0fb5fd271a Better scanning for module names, now includes namespace packages and stubs 2019-05-18 00:11:08 +02:00
Dave Halter e4170d65b7 Make namespace folders work with stubs 2019-05-15 21:55:54 +02:00
Dave Halter 895eae1d54 Move all Name classes to a separate file 2019-05-07 00:30:16 +02:00
Dave Halter ad48ec4cfd With typeshed OsPathName is no longer needed 2019-05-07 00:09:19 +02:00
Dave Halter 5099ef15b4 Move ImportName and add os path name to the submodule dict 2019-05-06 09:35:21 +02:00
Dave Halter c675e85d69 Use sub_module_dict for completing modules, not its own function 2019-05-06 09:19:33 +02:00
Dave Halter cabdb7f032 sub_modules_dict improvement 2019-05-05 21:49:55 +02:00
Dave Halter 7c385f72a1 StubOnly -> Stub, for all different classes 2019-05-05 20:46:45 +02:00
Dave Halter 2cb1bd162f Better signature support for docstrings 2019-05-05 19:09:21 +02:00
Dave Halter 44b9b8787a Some Bugfixes 2019-05-05 15:59:37 +02:00
Dave Halter 171874d288 Fix all gradual tests 2019-05-05 15:33:56 +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 3afcfccba8 Get the tests passing again 2019-04-14 19:02:43 +02:00
Dave Halter 9f26c27b6d Start adding tests for goto_assignments on stubs 2019-04-10 20:41:05 +02:00
Dave Halter 87bcaadf40 Fix a 3.7 issue 2019-04-03 01:16:52 +02:00
Dave Halter fa17681cf6 Goto definitions goto stubs now have a proper implementation 2019-04-03 00:28:15 +02:00
Dave Halter 2fc53045c7 Goto stubs if on definition 2019-03-31 01:19:35 +01:00
Dave Halter f4c17e578c Make it possible to use goto_definition on "broken" imports 2019-03-27 00:39:51 +01:00
Dave Halter 993567ca56 Remove submodule dict issues from namespace packages 2019-03-26 18:42:47 +01:00
Dave Halter a437c2cb02 Fix test_imports tests, now zip imports work again 2019-03-26 09:16:38 +01:00
Dave Halter b6612a83c3 WIP import improvement, getting rid of bad old code 2019-03-21 23:22:19 +01:00
Dave Halter 234f3d93cd Rewrite py__package__ to return a list 2019-03-18 10:01:18 +01:00
Dave Halter e2fea0a5de Fix some tests because of stub_context changes 2019-03-16 01:09:30 +01:00
Dave Halter 7374819ade Add a repr to ImplicitNamespaceContext 2019-03-06 08:36:50 +01:00
Dave Halter 2a9e678877 Merge branch 'master' into typeshed 2019-02-27 13:13:17 +01:00
Dave Halter 2dd2d06bca Add a todo 2019-02-25 00:27:27 +01:00
Dave Halter 5a2e3ee8e3 Filter self names in a more correct way, fixes #1275 2019-02-25 00:26:34 +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 ca784916bb Fix get_modules_containing_name 2018-12-22 14:33:24 +01:00
Dave Halter fcda62862c Fix calculate_dotted_path_from_sys_path. It was broken beyond stupid. 2018-12-18 09:30:49 +01:00
Dave Halter 30c2e64d9e py__name__ does not need to be defined 2018-12-16 18:24:10 +01:00
Dave Halter af51c9cc33 Fix Python 3 with Python 2 environment issues 2018-12-16 17:13:02 +01:00
Dave Halter 249564d6ea Merge remote-tracking branch 'origin/master' into typeshed 2018-12-15 18:20:51 +01:00
Dave Halter c87398a8c2 Remove unused code 2018-12-10 21:34:47 +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 2c5e2609f3 Overloaded functions now return values even if nothing matches 2018-12-09 12:43:55 +01:00
Dave Halter decb5046ea Some Python 2.7 fixes 2018-12-07 08:58:17 +01:00
Dave Halter 74c965b55c Fix a return type for py__iter__() 2018-12-06 18:54:51 +01:00
Dave Halter cc9641f8c1 Fixed an issue about compiled bound methods 2018-12-06 01:03:17 +01:00
Dave Halter d9e711ab11 Fix remaining Python 3.7 issues to get the tests to pass 2018-12-06 00:35:09 +01:00