Dave Halter
eea35ffc31
Remove supported Pythons from environments
2020-07-02 01:52:44 +02:00
Dave Halter
49e4b1a0f8
Remove force_unicode
2020-07-02 01:47:21 +02:00
Dave Halter
07fc1ef837
Remove the pickle compatibility stuff
2020-07-02 01:29:54 +02:00
Dave Halter
227cf00638
Remove the __builtin__ compatibility
2020-07-02 01:15:29 +02:00
Dave Halter
aab9fd2fbe
Remove queue compatibility
2020-07-02 00:52:26 +02:00
Dave Halter
4e2ca9e5fd
Remove some pickle compatibility
2020-07-02 00:50:58 +02:00
Dave Halter
395f7fc59e
Remove inspect.Parameter compatibility
2020-07-02 00:44:25 +02:00
Dave Halter
86eb48a89b
Remove unwrap compatibility
2020-07-02 00:40:08 +02:00
Dave Halter
3262ad4350
Remove the scandir compatibility
2020-07-02 00:38:44 +02:00
Dave Halter
fb34df3987
Remove a way for using imp to load Jedi in a subprocess
2020-07-02 00:37:09 +02:00
Dave Halter
23db298e2f
Removed various 3.3/3.4/3.5 references
2020-07-02 00:34:27 +02:00
Ryan Clary
7ec8454fc1
* Provide option to pass environment variables to Environment and CompiledSubprocess (subprocess.Popen)
...
* Extend this option to find_system_enviornments and get_system_environment without breaking API
2020-06-21 08:08:32 -07:00
Vlad Serebrennikov
e1c0d2c501
Reduce noise in signatures of compiled params ( #1564 )
...
* Remove "typing." prefix from compiled signature param
* Don't print default "None" for Optional params
* Don't remove 'typing.' prefix if symbol doesn't come from typing module
* Revert "Don't print default "None" for Optional params"
This reverts commit 8db334d9bb .
* Make sure "typing." doesn't appear in the middle
* Make sure only "typing." prefix is removed and not it's entries in the middle
* Use inspect.formatannotation() to create an annotation string
* Update AUTHORS.txt
* Add test for compiled param annotation string
* Replace Optional in test with other typing facilities
in order for test to be forward-compatible with 3.9
* Add an empty string fallback for Python 2
* Move _annotation_to_str back to original position
2020-05-10 13:33:36 +02:00
Ryan Clary
803c3cb271
* Use an explicit environment for subprocess to ensure that existing environment variables are not inherited. This ensures more reliable results, see issue #1540 .
...
* Attempt to send SYSTEMROOT variable to Windows subprocess
2020-04-16 00:52:44 +02:00
Dave Halter
02c3d651bd
Some more code quality fixes
2020-04-11 02:23:23 +02:00
Dave Halter
102f83ea85
Remove unreachable code
2020-04-11 01:39:04 +02:00
Dave Halter
4af138f4fb
Merge branch 'docs' of https://github.com/blueyed/jedi into refactor
...
Almost all of the docstrings were still there.
2020-03-14 00:12:53 +01:00
Dave Halter
10bc578bfe
Merge branch 'master' into refactor
2020-03-13 23:53:09 +01:00
Dave Halter
91857c2c0a
Fix issues with iter_module_names
2020-03-11 00:19:40 +01:00
Dave Halter
6bddca011c
Listing modules is no longer done by a subprocess
2020-03-07 20:25:58 +01:00
Dave Halter
8df917f1df
Fix a getattr_static issue, fixes #1517
2020-03-06 10:07:23 +01:00
Dave Halter
bd1ef659e8
Make InterpreterEnvironment public
2020-03-01 12:47:26 +01:00
Dave Halter
a892887b04
Remove Python 3.4 support
2020-02-27 02:04:03 +01:00
Lior Goldberg
1874e9be81
Remove the word 'class' from annotation_string
...
Currently, 'foo(x: int)' results with annotation_string="<class 'int'>".
Change this to 'int'.
2020-02-20 09:35:01 +01:00
Dave Halter
3388a9659b
Catch an error with illegal class instances, fixes #1491
2020-02-03 22:27:48 +01:00
Dave Halter
eb88c483fb
Catch an error with illegal class instances, fixes #1491
2020-02-03 22:27:22 +01:00
Dave Halter
4c7179bc87
Generate type hints, fixes #987
2020-02-02 16:55:10 +01:00
Dave Halter
f42ab8872d
compiled_object -> compiled_value
2020-01-25 18:25:19 +01:00
Dave Halter
7c3dbef9c5
Remove dead code
2020-01-25 18:16:30 +01:00
Dave Halter
8cccdde28d
CompiledObject -> CompiledValue
2020-01-25 18:13:50 +01:00
Dave Halter
5cd4a52bcd
CompiledValue -> ExactValue
2020-01-25 18:09:44 +01:00
Dave Halter
517fa27dc6
Revisit caching of mixed
2020-01-25 17:58:12 +01:00
Dave Halter
329329c195
Make MixedName a Namewrapper instead of inheritance
2020-01-25 17:54:19 +01:00
Dave Halter
8bde54a072
Remove underscore_memoization caching method
2020-01-25 17:29:52 +01:00
Dave Halter
235b887b75
Refactor MixedName quite a bit
2020-01-25 16:56:01 +01:00
Dave Halter
da2a55c73f
Fix issue with mixed objects, fixes #1480
2020-01-25 15:02:55 +01:00
Dave Halter
9c0efd5a67
Prepare a test for #1479
2020-01-25 01:07:20 +01:00
Dave Halter
7683c05de3
Fix value/context mixup in mixed, fixes #1479
2020-01-24 22:09:25 +01:00
Dave Halter
4d3f314baa
Create CompiledModule to have a better differentiation between compiled modules and compiles values
2020-01-24 13:01:54 +01:00
Dave Halter
44ba40958e
Make sure that CompiledObject doesn't have a file_io
2020-01-21 18:29:40 +01:00
Dave Halter
11a12d6ca8
Refactor execute_operation a bit
2020-01-12 13:01:08 +01:00
Dave Halter
4f56ec5daf
Make sure the latest changes work with Python 3.6/3.7
2020-01-10 15:14:22 +01:00
Dave Halter
3ba68b5bc6
Properly convert compiled values to generic classes
2020-01-10 15:09:16 +01:00
Dave Halter
cac73f2d44
Make Union/Optional works with compiled objects
2020-01-10 13:34:10 +01:00
Dave Halter
ba7776c0d9
Make sure that CompiledValue can deal with string annotations
...
Fixes #952
Inspired by #1461
2020-01-10 12:40:24 +01:00
Dave Halter
800ab65701
Fix a bug where parent_context was a value
2020-01-07 11:27:36 +01:00
Dave Halter
fdb5071bec
Fix some issues with converting names, see #1466
2020-01-07 10:59:15 +01:00
Dave Halter
e30385465c
Make sure the repr of compiled access isn't huge
2020-01-04 13:10:46 +01:00
Dave Halter
0a53ce5136
Separate getting docstrings and getting signatures for names, see discussion #1466
2020-01-01 23:05:06 +01:00
Dave Halter
66ad620692
Get rid of a lot of flake8 errors
2020-01-01 02:42:31 +01:00