1
0
forked from VimPlug/jedi
Commit Graph

53 Commits

Author SHA1 Message Date
Dave Halter c9e3e6902b Removed dead code 2019-05-27 19:06:57 +02:00
Dave Halter 11f3eece6d Preparations for some async changes 2019-05-27 09:41:50 +02:00
Dave Halter 9aa8f6bcf2 Better signature calculation 2019-05-23 01:36:51 +02:00
Dave Halter b1e6901d61 Some more signature tests 2019-05-22 00:51:52 +02:00
Dave Halter c64ee8a07c Make it clear what a param needs to implement 2019-05-21 18:21:40 +02:00
Dave Halter b17e7d5746 A work in progress improvement for compiled signatures 2019-05-21 09:37:17 +02:00
Dave Halter dc2f4e06c8 Fix a few casts for Python 2/3 interopability 2019-05-18 20:51:42 +02:00
Dave Halter 895eae1d54 Move all Name classes to a separate file 2019-05-07 00:30:16 +02:00
Dave Halter d9919efb4c is_compiled fix 2019-05-05 21:03:37 +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 329270e444 Add is_compiled and a few other things to be more compatible with the new way of handling stubs 2019-05-05 13:23:29 +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 fcda3f7bc5 Properly handle no __getitem__ on CompiledObject 2018-12-20 00:34:15 +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 6dc53c3887 Add at least partial support for signatures for builtins 2018-11-11 19:32:29 +01:00
Dave Halter 65340e6e24 Some more work on the filter merging 2018-10-05 01:57:34 +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 bd3bd2e53b Fix type completions on classes 2018-09-09 15:51:42 +02:00
Dave Halter ac7ce7c481 Start implementing overload function 2018-08-26 03:37:26 +02:00
Dave Halter 05cf6af546 Implement a lot more for typing 2018-08-24 01:13:54 +02:00
Dave Halter fe78fa9850 Move to using py__getitem__ and py__simple_getitem__
This change is necessary to handle more complex cases with py__getitem__
2018-08-13 18:42:09 +02:00
Dave Halter 11b2ac9923 Gettattr needs unicode 2018-08-13 09:53:26 +02:00
Dave Halter 84b89f4689 Rename py__getitem__ to py__simple_getitem 2018-08-10 19:31:19 +02:00
Dave Halter 7a48fdc5f6 Move execute_evaluated to a helper function 2018-08-05 01:28:03 +02:00
Dave Halter 59d43683dc Merge branch 'master' into typeshed 2018-08-04 23:42:17 +02:00
Dave Halter 1547177128 Fix a recursion issue about compiled objects 2018-08-04 23:20:51 +02:00
Dave Halter a3b5247de9 Merge branch 'master' into typeshed 2018-08-03 00:26:09 +02:00
Dave Halter 9ff5050d01 Use TreeContext in a good way 2018-08-03 00:25:25 +02:00
Dave Halter e827559340 Get some first stubs working 2018-07-25 23:48:53 +02:00
Dave Halter f4aad8bbfe Finally make it possible to use auto_import_modules for packages
This means that you can now write 'from gi.repository import Gtk' and Gtk completions work.

It also means that other libraries could be used like that for speed or other reasons.

Fixes #531
2018-07-03 00:58:43 +02:00
Dave Halter 88243d2408 Don't catch IndexError where we don't have to 2018-04-20 01:46:32 +02:00
Dave Halter 5d36114be4 Use inspect.Parameter.kind for better differentiation between param types
Refs #292
2018-03-13 22:47:08 +01:00
Dave Halter 5c1d979522 Fix an issue around __dir__ in the interpreter
Fixes #1027.
2018-03-12 01:46:12 +01:00
Dave Halter 52298510ed Fixing more py27 stuff 2017-12-29 02:02:34 +01:00
Dave Halter 05b2906dcc Some more small improvements for Python 2 2017-12-28 23:58:19 +01:00
Dave Halter ba81aa16a2 Use unicode in way more cases 2017-12-28 23:19:17 +01:00
Dave Halter a8d3c46e9d Refactor some things regarding Python 2 support 2017-12-27 02:09:58 +01:00
Dave Halter 8a82a5237d Casting to str is not necessary 2017-12-26 15:32:25 +01:00
Dave Halter c3483344fe Refactor allowed_getattr_callback a bit to not raise random errors. 2017-12-24 12:55:32 +01:00
Dave Halter 5a06ea2699 Start using a lot more unicode literals for Python 2 2017-12-24 03:11:28 +01:00
Dave Halter c3efde3bfa Add an optimization around compiled dir() 2017-12-14 22:28:22 +01:00
Dave Halter 3a7bc92863 Use builtins_module instead of BUILTINS 2017-12-10 18:52:51 +01:00
Dave Halter 13f8f37547 Use even more subprocess accesses 2017-12-06 15:16:27 +01:00
Dave Halter f09ca9fc20 Use access handles everywhere 2017-12-06 14:46:27 +01:00
Dave Halter 617b11c92b Move another usage of create to builtin_from_name 2017-12-04 08:57:43 +01:00
Dave Halter 85abc55e89 Remove unused code 2017-12-03 19:39:31 +01:00