Dave Halter
11b7e95ecc
os.path.join completion speed test is sometimes slow, so give it a bit more of time
2018-03-17 21:41:26 +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
5f0b34a520
Add the module_path again
2018-03-16 10:30:11 +01:00
Dave Halter
cc9c9fc781
Clean up the namedtuple test for #1060
2018-03-16 10:28:51 +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
24e1f7e6f0
The release date for 0.12.0 should not be set, yet. See #1061 .
2018-03-15 15:16:27 +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
e5546a8ae6
Better docs for funciton annotations
2018-03-14 19:19:38 +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
144a1def6c
Fix a few version issues in tests
2018-03-13 22:59:07 +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
Dave Halter
f9ec989835
Fix REPL completion param name completion
...
There were two issues:
1. The filter for parameters was wrong
2. In general the equal sign would not be added in some circumstances
2018-03-13 21:36:04 +01:00
Dave Halter
0dda740c5d
Add keyword argument test for #292
2018-03-13 19:09:33 +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
d0b8f9e5a2
Fix an interpreter test in Python 2
2018-03-12 20:49:27 +01: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
e0c682977c
Fix doctest for replstartup
2018-03-11 22:19:35 +01:00
Dave Halter
54a8db503d
Fix shell completion issues and documentation
...
This issue was raised in #990 . The completer was never used in Python3.4+,
because it was overwritten by Python's completer. Oddly enough it has always
worked in Python2.7/3.3.
The documentation was also slightly modified. os.path.join was always a
complex beast.
2018-03-09 22:39:00 +01:00
Dave Halter
c4be83759c
Merge branch 'master' of github.com:davidhalter/jedi
2018-03-08 10:09:08 +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
Oliver Newman
8586d2a995
Fix VS Code Python extension link
2018-03-07 10:11:16 +01:00
Dave Halter
a85f2d1049
Use the correct class for params when used in names. Fixes #1006
2018-03-07 09:59:31 +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
d063dadcf7
Don't need the tests from #122
2018-03-05 01:01:43 +01:00
Dave Halter
0144de1290
Refactor the namespace package tests
2018-03-05 00:55:35 +01:00
Elvis Pranskevichus
3fb95e3a58
Add a failing test for nested PEP420 namespace packages
2018-03-05 00:18:30 +01:00
Dave Halter
074d0d6d07
Include __init__.py files in search for the project directory, fixes #773
2018-03-04 21:36:59 +01:00
Dave Halter
2885938e74
Add pytest cache to gitignore
2018-03-04 18:29:00 +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
ggilmore
3c9aa9ef25
fix set.append syntax error
2018-03-03 10:37:56 +01:00
Dave Halter
89c616a475
Add a few bits to the changelog
2018-03-02 08:59:28 +01:00
Dave Halter
4dc10e0d4b
Autocompletion in comments should at least not fail
...
Fixes #968
2018-03-01 08:57:32 +01:00
Dave Halter
cbcc95c671
Fix the last async issue
2018-02-28 23:47:59 +01:00
Dave Halter
2abcd0b6a6
Fix a few numpydocs tests
2018-02-28 23:44:50 +01:00
Dave Halter
3820111d1e
Fix some more await things
2018-02-28 23:30:20 +01:00
Dave Halter
dfa383c744
Fix a yield from test
2018-02-28 23:01:07 +01:00