Dave Halter
b531b6f4fd
A small docs correction
2018-04-15 11:56:24 +02:00
Dave Halter
97b5dd9312
Remove the old static analysis stuff. It was never really used
2018-04-15 11:53:07 +02:00
Dave Halter
7b15c70551
Fix a lot of old docs code that doesn't exist anymore
2018-04-15 11:52:45 +02:00
Dave Halter
698d50b65b
Remove the old parser documentation (that's now part of parso)
2018-04-15 11:42:34 +02:00
Dave Halter
940a8c7c9c
Don't call it the plugin API anymore, that's confusing
2018-04-15 11:35:58 +02:00
Dave Halter
9465eb7881
Reorder some functions
2018-04-15 11:30:35 +02:00
Dave Halter
bb979a040d
Adda lot of environment documentation to sphinx
2018-04-15 11:25:46 +02:00
Dave Halter
336087fcf8
find_python_environments -> find_system_environments
2018-04-14 15:46:16 +02:00
Dave Halter
45fb770033
A small refactoring
2018-04-14 15:38:32 +02:00
Dave Halter
9f07e7e352
Remove from_executable, were not really using it, yet.
2018-04-14 15:13:02 +02:00
Dave Halter
43ab9563e2
For the second time in a row it's called creationflags not creation_flags
2018-04-14 11:06:24 +02:00
Dave Halter
db21942c61
Refactor something small
2018-04-14 01:48:52 +02:00
Dave Halter
737154d657
Remove an unnecessary else
2018-04-14 01:47:17 +02:00
Dave Halter
81771264e0
CREATE_NO_WINDOW was introduced in Python 3.7 and didn't exist before
2018-04-13 22:05:08 +02:00
Dave Halter
fac773a60d
The SameEnvironment should not load by default if it's a portable
...
find_python_environments should only find Python versions if they are actually installed on the system. If people copy virtualenvs around etc. it will find nothing instead.
2018-04-13 21:53:06 +02:00
Dave Halter
8af4fc5728
Do binary comparisons to get virtualenvs working and not just venvs
2018-04-13 21:45:07 +02:00
Dave Halter
ed80ed9437
Use the correct parameter name for creation flags
2018-04-13 19:04:53 +02:00
Dave Halter
83d635cbac
Add a way to generalize Popen
2018-04-13 10:17:30 +02:00
Dave Halter
81623c6b5d
Check the windows environments in a better way
2018-04-12 14:26:17 +02:00
Dave Halter
27419be56d
Fix some issues with the latest changes
2018-04-12 14:24:18 +02:00
Dave Halter
b8e879bc53
DefaultEnvironment -> SameEnvironment
2018-04-12 09:00:19 +02:00
Dave Halter
f4317dadc4
Better docs for Environment
2018-04-12 08:59:18 +02:00
Dave Halter
bf0169480d
Some docstrings
2018-04-12 08:58:06 +02:00
Dave Halter
5bb3b8c122
Make the Environment clearly non-public
2018-04-12 08:56:07 +02:00
Dave Halter
9ac7182fea
Make some names public
2018-04-12 08:52:24 +02:00
Dave Halter
93a28c4230
Make sure Windows environments are safe
2018-04-12 08:50:31 +02:00
Dave Halter
323a85db7c
Fix the module_name issue again
2018-04-10 21:27:47 +02:00
Dave Halter
1c91cfa9d6
Write a test for #1079 to avoid a regression in the future.
2018-04-10 19:23:20 +02:00
Dave Halter
9b17be9ecf
Cleanup some of the module cache stuff
2018-04-10 19:16:18 +02:00
micbou
cf5f06f378
Do not cache unimportable compiled module ( #1079 )
...
From the issue:
The issue can be reproduced by getting the description of the QtBluetooth module from PyQt5 on Windows:
import jedi
completions = jedi.Script('import PyQt5.QtBlueTooth').completions()
completions[0].description
It's hard to write a test for it so we don't write one for it.
2018-04-10 19:10:05 +02:00
Dave Halter
81aa70b168
Merge branch 'master' of github.com:davidhalter/jedi
2018-04-10 09:19:55 +02:00
micbou
286dd92e35
Fix permissions of Python 3.6 on Travis
2018-04-10 09:19:12 +02:00
micbou
903bdf5fef
Fix virtual environment tests
2018-04-10 09:19:12 +02:00
Dave Halter
764b67d232
Multiple inheritance completion in Python 2 did not work
...
Fixes #1071 .
2018-04-10 08:58:30 +02:00
Dave Halter
777d9defc5
Give the run.py script an environment parameter
2018-04-10 08:42:58 +02:00
Dave Halter
b74ba7cd01
Fix an import
2018-04-09 01:47:31 +02:00
Dave Halter
519f54321e
Merge the environment changes for Windows
2018-04-09 01:43:57 +02:00
Dave Halter
f4c14864a5
Better tests for venvs
2018-04-09 01:28:43 +02:00
Dave Halter
81d8c49119
Write a test for venvs
2018-04-08 23:04:57 +02:00
Dave Halter
0c19219143
Obviously Python 3 syntax cannot be used in Python 2
2018-04-08 21:38:03 +02:00
micbou
b3b6b798ff
Find Python environments on Windows using the registry
2018-04-08 19:04:11 +02:00
Dave Halter
aa9f7fd304
Update the changelog about f-strings
2018-04-08 01:38:09 +02:00
Dave Halter
7fca4c332d
Use the latest parso version from master.
2018-04-07 16:06:29 +02:00
Dave Halter
806ae13b71
Better goto definition for fstrings
2018-04-07 12:40:52 +02:00
Dave Halter
ec1c6e1e4d
Fix an issue around the new grammar
2018-04-05 09:52:08 +02:00
Dave Halter
567c8b8097
Fix some fstring issues for now
2018-04-05 01:11:04 +02:00
Dave Halter
af956d70a3
Make a few modifications to always use the latest environment available.
2018-04-04 09:53:23 +02:00
Dave Halter
6b75519145
Better tests for fstrings
2018-03-31 18:38:09 +02:00
Dave Halter
43df60ff7d
With the changes in parso, f-strings are now completable
...
Parso now uses one syntax tree for f-strings and the classic syntax tree.
2018-03-31 17:51:27 +02:00
Dave Halter
27655db8a9
With the changes in parso, f-strings are now completable
2018-03-31 17:07:47 +02:00