Dave Halter
83d635cbac
Add a way to generalize Popen
2018-04-13 10:17:30 +02:00
Dave Halter
323a85db7c
Fix the module_name issue again
2018-04-10 21:27:47 +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
764b67d232
Multiple inheritance completion in Python 2 did not work
...
Fixes #1071 .
2018-04-10 08:58:30 +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
538996d8d3
Fix lambda dynamic param searches, fixes #1070
2018-03-25 23:54:43 +02:00
Dave Halter
b5bc25fc0b
Fix another windows issue
2018-03-23 01:21:07 +01:00
Dave Halter
c8bb41662e
Merge the windows fixes
2018-03-23 00:55:23 +01:00
Dave Halter
e6a3a8882c
Fix another error that surfaced in pandas
2018-03-20 01:04:00 +01:00
Dave Halter
a61742728b
Fix an issue with docstrings that contain errors
2018-03-20 00:56:53 +01:00
Dave Halter
5c06d9871a
Somehow forgot about subscriptlist. Just ignore those for now.
...
Fixes #1010 .
2018-03-18 17:24:45 +01:00
Dave Halter
6042706922
Fix the first issue in #1010
...
Somehow it was still possible with lists to recurse.
2018-03-18 17:09:44 +01:00
Dave Halter
60da6034c0
Fix some code_lines issues
2018-03-17 19:41:26 +01:00
Dave Halter
094affaf84
Remove stdout/stderr from subprocesses (redirected to /dev/null)
...
This means that the subprocess should now not crash anymore because of people
writing to stdout in c modules and stderr should be empty.
Fixes #793 .
2018-03-17 14:14:00 +01:00
Dave Halter
90a226f898
All modules now have a code_lines attribute, see #1062
2018-03-16 10:20:26 +01:00
Dave Halter
1eeb7cb6aa
And now remove a pep0484 function that is no longer needed
2018-03-14 21:51:06 +01:00
Dave Halter
053618edd0
Some more code to a function
2018-03-14 21:49:17 +01:00
Dave Halter
ce0aa224f1
More rewriting of the pep0484 logic
2018-03-14 21:34:01 +01:00
Dave Halter
ae6d01abf5
Start moving some of the pep0484 comment code around
2018-03-14 21:27:29 +01:00
Dave Halter
e6469f46c7
Cleanup some instance stuff
2018-03-14 21:04:55 +01:00
Dave Halter
f5cf4c1954
Fix an error in param comments
2018-03-14 09:53:25 +01:00
Dave Halter
13ba74515d
Catch parser errors instead of error recovery when splitting param comments
2018-03-14 09:49:59 +01:00
Dave Halter
afda309cb9
Merge branch 'function_comment' of https://github.com/wilfred/jedi into mypy-comments
2018-03-14 00:55:06 +01:00
Dave Halter
5d36114be4
Use inspect.Parameter.kind for better differentiation between param types
...
Refs #292
2018-03-13 22:47:08 +01:00
Lee Danilek
b9903ede1b
Support mypy annotations using comment syntax
...
This allows us to use mypy annotations for completion in Python 2.
Closes #946
2018-03-13 17:55:28 +00:00
Dave Halter
378a5846db
Clean up zombie subprocesses, fixes #1048
2018-03-12 20:06:02 +01:00
Dave Halter
5c1d979522
Fix an issue around __dir__ in the interpreter
...
Fixes #1027 .
2018-03-12 01:46:12 +01:00
Dave Halter
51e0d5d12f
Fix issues with default parameters in functions and classes
...
Default parameters were resolved at the wrong starting position. Fixes #1044
2018-03-08 09:59:09 +01:00
Dave Halter
14ac6b11b9
Correct mistakes of lambda names
2018-03-08 09:52:35 +01:00
Dave Halter
23e7c5bd2a
eval_element -> eval_node
2018-03-07 20:11:19 +01:00
Dave Halter
72be3e5247
Get rid of a regex warning, where escaping was not properly used in a normal string
2018-03-05 10:56:27 +01:00
Dave Halter
9e9c62a5ab
Get rid of the imp library import in Python3 to avoid warnings, fixes #1001
2018-03-05 10:55:21 +01:00
Dave Halter
95d36473fc
Improve some documentation/a failing doctest
2018-03-04 18:29:00 +01:00
Dave Halter
d4af314b65
Fix the recursion error with globals
...
This generalizes the fix to actually fix a lot of potential recursion issues
with if_stmt.
2018-03-04 18:29:00 +01:00
Dave Halter
a3a39c0757
Always pop nodes in recursion detector
2018-03-04 18:29:00 +01:00
Dave Halter
c9a64bd1d3
Globals should be looked up with the same priority as other defined nodes.
2018-03-04 18:29:00 +01:00
Dave Halter
cbcc95c671
Fix the last async issue
2018-02-28 23:47:59 +01:00
Dave Halter
3820111d1e
Fix some more await things
2018-02-28 23:30:20 +01:00
Dave Halter
a41a4562d2
AbstractIterableMixin -> IterableMixin
2018-02-28 22:51:27 +01:00
Dave Halter
0d0213ee4c
Support generator returns when used with yield from.
2018-02-28 22:35:58 +01:00
Dave Halter
eeacdc33a1
Try to make the whole Builtin overwriting more abstract
2018-02-26 23:09:18 +01:00
Dave Halter
8e26017a05
Fix a small remaining issue in Python 2
2018-02-21 01:38:30 +01:00
Dave Halter
2d4636da5b
Fix for all python versions
2018-02-21 01:23:50 +01:00
Dave Halter
c1d06f4638
Getting more edget cases work in 3.6 for async
2018-02-21 01:11:59 +01:00
Dave Halter
de5d7961e8
Fix an issue with async for
2018-02-21 00:41:59 +01:00
Dave Halter
bc0210af70
Use the await method properly and just use it instead of some crazy things
2018-02-21 00:27:15 +01:00
Dave Halter
bf01b9d47c
Refactor the way builtins can be overwritten by jedi's own contexts
2018-02-21 00:09:41 +01:00
Dave Halter
5c8300e62a
Move all the asynchronous contexts to a separate module
2018-02-19 09:43:50 +01:00