forest93
1e12e1e318
Make get_module_names return top-level async functions when all_scopes=False.
2019-04-11 23:38:55 +08:00
Dave Halter
24a06d2bf9
Merge branch 'names-all-scopes-false-returns-class-fields' of https://github.com/immerrr/jedi
2019-04-09 22:58:03 +02:00
micbou
77a7792afc
Fix transform_path_to_dotted tests on Windows
...
Convert paths to normalized absolute ones in transform_path_to_dotted
tests.
2019-03-16 17:34:00 +01:00
Dave Halter
92a8a84ff2
Fix sys.path completions, #1298
2019-03-13 21:11:20 +01:00
Dave Halter
b659b20d27
Fix an issue between different subprocess versions
2019-03-08 18:20:00 +01:00
Dave Halter
967d35e4be
Correct a docstring
2019-03-08 16:35:15 +01:00
Dave Halter
ffd9a6b484
Make it possible to complete in non-Python files
2019-02-28 20:04:17 +01:00
Dave Halter
1a32663f85
The calculation of dotted paths from normal paths was completely wrong
2019-02-28 09:42:56 +01:00
Dave Halter
94f2677752
Fix names selection and params, fixes #1283
2019-02-26 00:20:33 +01:00
Dave Halter
eac69aef2b
Infer names in the correct way, fixes #1286
2019-02-25 21:48:57 +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
8ac7d1fdb6
Use the internal parse function to avoid UnicodeDecodeError in mixed, fixes #1277
2019-02-24 19:56:17 +01:00
immerrr
1e8674b51c
get_module_names: fix "all_scopes=False" handling
...
Previously, names defined within the scope of first-level classes or functions
were returned.
2018-10-18 14:47:20 +03:00
Jelte Fennema
3bdb941daa
Add an exact_key_items method to DictComprehension fixes #1233
2018-10-14 17:08:44 +02:00
Dave Halter
c24eb4bd67
Fix tensorflow issues with a few hacks (temporary), fixes #1195
2018-10-02 00:52:11 +02:00
Dave Halter
4545d91929
Ignore some errors that are happening when the Python process ends and its subprocesses are cleaned up
2018-09-30 13:26:26 +02:00
Claude
a2b984ce24
also remove crashes with pep 448 unpacking of lists and sets
2018-09-23 21:00:11 +02:00
Claude
6bc79b4933
Fixed crash (and now recognises correctly) {**d, "b": "b"}["b"]
2018-09-23 21:00:11 +02:00
Claude
b9127147e4
Recognize {**d} as a dict instead of set
2018-09-23 21:00:11 +02:00
Dave Halter
84b07a8809
Removing a test from doctests, becaues it shouldn't be one
2018-08-26 03:09:46 +02:00
Dave Halter
6c555e62aa
Refactor argument clinic usage
2018-08-26 03:02:58 +02:00
Dave Halter
d6306a06a4
With the recent changes one performance optimization got lost
2018-08-07 02:47:25 +02:00
Dave Halter
8fc2add242
FunctionExecutionContext should use the parent if possible
2018-08-06 12:49:31 +02:00
Dave Halter
4a593f9693
Use anonymous instance arguments in a different way
2018-08-06 11:19:29 +02:00
Dave Halter
38a22a4ae8
Move some anonymous instance function execution stuff
2018-08-05 23:37:46 +02:00
Dave Halter
10ecb77673
Get rid of InstanceFunctionExecution, because it's really not needed
2018-08-05 23:26:15 +02:00
Dave Halter
357c86ad9c
Use the InstanceArguments for super as well
2018-08-05 14:58:35 +02:00
Dave Halter
8cae517821
Use InstanceArguments directly and not via InstanceFunctionExecution
2018-08-05 14:34:44 +02:00
Dave Halter
0101fdd9da
Remove old garbage code
2018-08-05 14:19:18 +02:00
Dave Halter
e17d7f5d42
Don't use arguments that are not needed
2018-08-05 14:17:46 +02:00
Dave Halter
7d16a35693
Also move the remaining get_params to get_executed_params
...
Remove the class's get_params entirely, because it is apparently not needed and contained a funny return.
2018-08-05 13:58:06 +02:00
Dave Halter
1456a156a6
get_params -> get_executed_params where possible
2018-08-05 13:53:57 +02:00
Dave Halter
3d55b2d826
Subprocess error reporting improvements
2018-08-05 12:50:17 +02:00
Dave Halter
1547177128
Fix a recursion issue about compiled objects
2018-08-04 23:20:51 +02:00
Dave Halter
bd43608f98
Use a CompiledInstanceNameFilter that wraps the class name as well
2018-08-04 13:10:14 +02:00
Dave Halter
72f2a9e4a5
Prefer Python 3 import over 2
2018-08-04 12:07:41 +02:00
Dave Halter
b91203820c
Now it's actually possible to specify a pytest environment for the same Python version
2018-08-04 02:00:13 +02:00
Hugo
7c9f24a18e
Drop support for EOL Python 3.3 ( #1019 )
2018-08-04 00:40:00 +02:00
Dave Halter
9ca7b30e38
Rewrite the pyc test
2018-08-03 23:59:55 +02:00
Dave Halter
fd8f254ce1
Fix an issue with stderr debugging of subprocesses
2018-08-03 23:51:58 +02:00
Dave Halter
1c76359291
stderr of the child processes should be printed in debug output
...
This fixes #1169 . It might have a bit of a different intention, but at least it's now possible to see output of the subprocess and it's not just a black hole.
2018-08-03 13:35:21 +02:00
Dave Halter
30d14ea016
Remove some redundant code
2018-08-03 12:33:35 +02:00
Dave Halter
bbb1502e06
Use names of classes to infer names of instances
2018-08-03 12:23:54 +02:00
Dave Halter
f34a9281b9
Don't have execute and execute_evaluated on name
2018-08-03 11:34:33 +02:00
Dave Halter
95a1a69771
Fix an issue where __ prefixed variables where not hidden when accessed from a class
...
Everything worked well when looking at it from an instance perspective.
2018-08-03 11:05:49 +02:00
Dave Halter
f25310e0b9
BoundMethods now have access to the function that they are using
2018-08-03 00:25:25 +02:00
Dave Halter
e576457a43
Remove another usage of is_class where it's not needed
2018-08-03 00:25:25 +02:00
Dave Halter
a1314ac3c1
FunctionContext should be created from a unified interface
2018-08-03 00:25:25 +02:00
Dave Halter
9ff5050d01
Use TreeContext in a good way
2018-08-03 00:25:25 +02:00