Dave Halter
f727e4e661
Make it possible to access functions that were inherited, see #1347
2019-08-11 20:34:21 +02:00
Dave Halter
c3d40949b1
Make it possible to access properties again
...
This time we catch all exceptions and try to avoid issues for the user.
This is only happening when working with an Interpreter. I don't feel this is
necessary otherwise.
See #1299
2019-08-11 16:24:19 +02:00
Dave Halter
ab80646b86
Fix an issue with type vars that might have been a problem for other things as well
2019-08-11 01:28:09 +02:00
Dave Halter
04b7c99753
Make CompiledValue lazy
...
This definitely reduces debug output and it might be slightly faster, because some values are never asked for
2019-08-10 14:36:40 +02:00
Dave Halter
a5a544cb09
Revert "Use __str__ instead of to_string"
...
This reverts commit 1151700114 .
2019-07-31 18:39:17 +02:00
Dave Halter
1151700114
Use __str__ instead of to_string
2019-07-31 00:07:38 +02:00
Dave Halter
05d9602032
Fix partial signatures for MixedObject
...
Now a MixedObject return the signatures of its CompiledObject all the time, fixes #1371
2019-07-24 12:58:20 +02:00
Dave Halter
7156ddf607
Remove an unused function
2019-07-19 01:32:27 +02:00
Dave Halter
c7fc715535
Use class filters in instances differently so metaclass plugins work, fixes #1090
2019-07-18 11:20:54 +02:00
Dave Halter
eeea88046e
First step in working with metaclasses in plugins, see #1090 .
2019-07-18 11:20:28 +02:00
Dave Halter
3ed9e836cc
Make sure __wrapped__ works properly when using an Interpreter, fixes #1353
2019-07-10 16:12:57 -07:00
Dave Halter
f984e8d6ef
Small refactoring
2019-07-10 15:38:41 -07:00
Dave Halter
a26cb42d07
Disable a test for Python 2
2019-07-04 09:31:22 -07:00
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
f672d3329a
Make sure that execute is always called with arguments
2019-06-11 09:37:24 +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
0ff1a88cc4
Use get_qualified_names for full_name
2019-06-08 00:18:31 +02:00
Dave Halter
f80828cb07
Fix issues with simple_getitem and mixed objects
2019-06-07 03:00:01 +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
5d3028bd1f
Fix completions for collections.deque
2019-06-06 20:34:50 +02:00
Dave Halter
07f9f241c6
py__call__ is now always available
2019-06-06 10:04:48 +02:00
Dave Halter
84eb91beaa
Add a few tests about simple completions for interpreters
2019-06-06 00:17:37 +02:00
Dave Halter
de03b96232
Fix a small issue about accesses
2019-06-05 23:29:45 +02:00
Dave Halter
da4e6f275e
Fix stub lookups for MixedObject
2019-06-05 19:46:40 +02:00
Dave Halter
1139761525
Fix some of the mixed test failures
2019-06-05 00:28:48 +02:00
Dave Halter
0a56211df8
Setting correct parents for CompiledObject filters
2019-06-04 23:31:42 +02:00
Dave Halter
586354b571
Remove the unused function get_node
2019-06-03 20:33:03 +02:00
Dave Halter
bade4e661f
Some changes to get stubs working better for mixed objects
2019-06-03 20:28:04 +02:00
Dave Halter
b9e8bff5e2
Start using FileIO in modules
2019-05-31 22:10:49 +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
857f6a79ae
Merge branch 'master' of github.com:davidhalter/jedi
2019-05-21 13:39:27 +02:00
micbou
744662d096
Fix resource warnings
2019-05-21 13:35:12 +02:00
Dave Halter
b17e7d5746
A work in progress improvement for compiled signatures
2019-05-21 09:37:17 +02:00
Dave Halter
4b2518ca9a
Remove special objects, they are no longer needed
2019-05-19 14:28:39 +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
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