Dave Halter
b2f6758a9c
Merge pull request #1313 from CXuesong/master
...
get_module_names should include top-level async functions when all_scopes=False.
2019-04-13 00:43:58 +02:00
Andreas Mittelberger
e843c6108d
fix add_bracket_after_function had no effect ( #1297 )
...
* fix add_bracket_after_function had no effect
* added test for fix
* using monkeypatch to set add_bracket_after_function.
2019-04-13 00:41:02 +02:00
forest93
1e12e1e318
Make get_module_names return top-level async functions when all_scopes=False.
2019-04-11 23:38:55 +08:00
mlangkabel
c801e24afc
fix get_system_environment misses if same python version has multiple installs
...
The Environment.__init__ may throw an InvalidPythonEnvironment if the call to _get_subprocess() fails. In this case other registered Python environments of the same Python version may still work and shall also be considered.
2019-04-09 23:01:37 +02: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
Nikhil Mitra
8d0c4d3cec
Resolve path in get_cached_default_environment() in api/environment.py to
...
prevent unnecessary cache busting when using pipenv.
2019-04-05 15:21:46 +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
cd8c9436c5
Merge branch 'master' of github.com:davidhalter/jedi
2019-03-08 16:23:46 +01:00
Stanislav Grozev
6031971028
Use expanded paths when looking for virtualenv root
...
This fixes virtualenv resolution under macOS and Pipenv.
2019-03-08 01:22:21 +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
tamago324
4fecca032d
Fix typo
2019-02-27 20:40:59 +01:00
Dave Halter
17136e03d2
Fix get_parent_scope
2019-02-27 13:08:21 +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
Dave Halter
0bf8a69024
v13.3 release notes
2019-02-24 18:45:07 +01:00
Dave Halter
9bb8f335c9
A small improvement for environments
...
see comment in 8d313e014f
2019-02-22 01:04:01 +01:00
Dave Halter
8d313e014f
Check for specific Python versions first on unix, see davidhalter/jedi-vim#870
2019-02-22 00:34:03 +01:00
Dave Halter
a79d386eba
Cleanup SameEnvironment and use the same logic for creation in virtualenvs
2019-02-22 00:24:55 +01:00
Dave Halter
48b137a7f5
Revert "Remove an used function"
...
This reverts commit efd8861d62 .
2019-02-21 17:54:01 +01:00
Dave Halter
b4a4dacebd
Fix embedded Python with Jedi (see comments in source code), fixes davidhalter/jedi-vim#870
2019-02-21 10:19:28 +01:00
Dave Halter
efd8861d62
Remove an used function
2019-02-21 10:16:17 +01:00
Dave Halter
2f86f549f5
Improve an error message, see #1279
2019-02-16 04:32:03 +01:00
Marc Zimmermann
cc0c4cc308
fixing permission denied errors with project.json
2019-02-16 04:28:26 +01:00
Dave Halter
86ae11eb43
Add a new release 0.13.2
2018-12-15 20:09:36 +01:00
Bet4
76417cc3c1
Fix environment cache regression ( #1238 )
...
The only remaining issue with this PR is that it does compare with executable instead of _start_executable (they don't need to be the same).
2018-12-15 18:37:28 +01:00
micbou
368bf7e58a
Improve docstring formatting
2018-11-26 00:26:34 +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
bd1010bbd2
Create a new 0.13.1 release
2018-10-02 19:07:35 +02:00
Dave Halter
23b3327b1d
Fixed completions of global vars and tensorflow slowness, fixes #1228 , #1116
2018-10-02 15:28:51 +02:00
Dave Halter
96b57f46cb
Release notes for 0.13.0
2018-10-02 01:14:28 +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
862f611829
If the VIRTUAL_ENV variable changes, need to reload the default environment, fixes #1201 , #1200
2018-09-30 19:07:48 +02:00
Dave Halter
f9cbc65f2d
Return SameEnvironment as a default, fixes #1226 , #1196
2018-09-30 14:07:37 +02:00
Dave Halter
e1f9624bd4
Document that using the REPL autocompletion is only available on Linux/Mac, fixes #1184
2018-09-30 13:36:05 +02:00
Dave Halter
6a2a2a9fa1
Fix an issue with f-strings, fixes #1224
2018-09-30 13:26:54 +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
Daniel Hahler
56bd795100
_get_virtual_env_from_var: use safe=False
...
Without this creating an env from VIRTUAL_ENV will always silently fail
if it is not the same/current environment.
2018-09-16 11:37:22 +02:00
Daniel Hahler
fc9a55b042
jedi/api/environment.py: minor flake8 fix
2018-09-16 11:22:02 +02:00
Daniel Hahler
1cf5b194ca
jedi.api.environment._SUPPORTED_PYTHONS: add 3.7
...
The grammar is available in parso already, and it works in general.
2018-09-15 16:58:07 +02:00