Dave Halter
947bfe7b78
Fix an issue with keyword params, fixes #1356
2019-07-03 22:35:46 -07:00
Nelson, Karl E
344a03e6b2
Fix for EmptyCompiledName
2019-06-24 23:51:19 +02:00
Dave Halter
aa2dc6be09
Return annotations for compiled objects now help to infer
...
However only if it's a type, if it's a string, it doesn't work, yet
Fixes #1347
2019-06-22 00:15:20 +02:00
Dave Halter
78973a9f35
Move execute_evaluated to HelperContextMixin
2019-06-11 17:46:30 +02:00
Dave Halter
a555def6ca
Use a different function signature instead of a separate goto_stubs function
2019-06-10 02:27:22 +02:00
Dave Halter
94dfe7bf69
Use even more stubs to get more complex completions for e.g. strings working
2019-06-07 02:37:51 +02:00
Dave Halter
97f342fc4c
Fix qualified names for CompiledObject
2019-06-07 01:33:37 +02:00
Dave Halter
07f9f241c6
py__call__ is now always available
2019-06-06 10:04:48 +02:00
Dave Halter
0a56211df8
Setting correct parents for CompiledObject filters
2019-06-04 23:31:42 +02:00
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