Dave Halter
cd8932fbfc
Add a latest grammar to the evaluator and use it to avoid importing from parso import parse.
2017-05-24 00:37:36 -04:00
Dave Halter
b90589b62e
Some changes because parso has changed.
2017-05-22 15:42:42 -04:00
Dave Halter
9bca3d39f5
Actually use parso now instead of Jedi.
2017-05-19 14:20:14 -04:00
Dave Halter
9fb7fb66da
Move another test to delete a file.
2017-05-07 16:39:32 +02:00
Dave Halter
d717c3bf40
Merge some import tests.
2017-05-07 16:20:49 +02:00
Dave Halter
6b7376bc5d
Move some stdlib tests.
2017-05-07 16:06:01 +02:00
Dave Halter
eaa5100372
Removed Scope.statements from the parser tree.
2017-04-28 18:18:58 +02:00
Dave Halter
7ca62578e1
Add py__doc__ as a better approach to docstrings.
2017-04-20 09:45:15 +02:00
Dave Halter
b4631d6dd4
Progress in removing the docstring/call signature logic from the parser.
2017-04-18 18:48:05 +02:00
Dave Halter
b0ac07228b
Restructure/Refactor has_absolute_import a bit.
2017-04-12 08:47:30 +02:00
Dave Halter
0117f83809
Forgot to include a test for #844 .
2017-04-04 20:35:32 +02:00
Dave Halter
632072000e
Fix the builtin docstring issue that we've had. Fixes #859 .
2017-04-03 00:27:31 +02:00
Dave Halter
8a35a04439
Remove the module path from the parser tree.
...
Some static analysis tests are still failing.
2017-03-27 18:13:32 +02:00
Dave Halter
63cafeaa87
Remove all usages of start_parsing=True in the fast parser.
2017-03-26 12:49:40 +02:00
Dave Halter
fb4cff8ef9
A small buildout script refactoring.
2017-03-23 14:22:27 -07:00
Dave Halter
0f66a3c7a8
Remove the module attribute from the parser.
2017-03-18 03:53:34 +01:00
Dave Halter
06702d2a40
Move the python parser.
2017-03-16 08:40:19 +01:00
Dave Halter
375749c5c3
Small restructuring.
2017-03-15 08:56:49 +01:00
Dave Halter
97fc3bc23c
Refactored the parser calls. Now it's possible to use jedi.parser.python.parse to quickly parse something.
2017-03-14 00:38:58 +01:00
daniel
5513f72987
added support for implicit ns packages and added tests
2017-02-23 23:53:14 +01:00
Dave Halter
b6e61133d8
Move the tests for the last PR #848 .
2017-02-04 18:11:14 +01:00
Mathias Rav
37d7b85ed1
Add tests for decorator completion
2017-02-04 18:05:15 +01:00
Dave Halter
1edccbe2c3
Improve literal tests.
2017-01-08 19:52:21 +01:00
Dave Halter
7300f3e7ef
Fix issues with Python 3.6's f strings and underscores in numbers.
2017-01-08 19:39:14 +01:00
Dave Halter
ae8e43d3c7
Move get_node() to tree_node and replace all the custom classdefs/funcdefs.
2017-01-05 23:43:12 +01:00
Dave Halter
55ec47f15f
Test module attributes.
2017-01-04 18:32:16 +01:00
Dave Halter
5b9e5f96aa
Merge with master.
2017-01-02 13:05:45 +01:00
Dave Halter
c6248ae169
Some testing fixes that were broken with the few previous commits.
2016-12-06 18:18:53 +01:00
Dave Halter
6940900c58
A lot more fixes - fix all evaluate integration tests.
2016-12-03 22:17:38 +01:00
Dave Halter
ee1f077014
Some test refactorings.
2016-12-03 14:32:00 +01:00
Daniel Hahler
f7f966805f
sys_path: prepend/prefer egg-link files
...
With `pip install -e` the generated .egg-link file gets preferred over
any normally installed distribution, and `pip uninstall` will first
remove the egg-link before the normal package.
2016-10-14 14:18:09 +02:00
Dave Halter
6440e33512
Fix an issue with magic methods on classes. Fixes #461 .
2016-07-31 23:42:16 +02:00
scribu
4fbde0001a
add test for namespaced packages
2016-07-29 08:31:21 +02:00
Dmitry Sadovnychyi
60484707a0
Add support for ZIP and EGG packages in imports
2016-07-25 20:29:02 +08:00
Dave Halter
5280f567f9
The docstring of import completions was wrong.
...
This is fixed now. However, since this might massively decrease performance,
it's not enabled by default. You can enable it with `docstring(fast=False)`
(see test changes), but I wouldn't recommend it at this point.
Fixes #656 .
2016-07-09 01:04:15 +02:00
Dave Halter
8e67facecc
Refactoring: call_of_name -> call_of_leaf.
2016-06-21 18:42:20 +02:00
Dave Halter
653f247a42
Fix a goto_definitions test.
2016-06-13 18:27:39 +02:00
Dave Halter
cb7ee00c75
Forgot to include precedence tests.
2016-01-07 10:43:31 +01:00
Dave Halter
c15551ccc1
Errortokens should also make the parser fail in the normal parser.
2015-12-20 23:11:52 +01:00
Dave Halter
5791860861
Actual forward reference annotations are working pretty smooth now.
2015-12-20 22:57:41 +01:00
Dave Halter
c4906e0e3f
Rework the parser so we can use arbitrary start nodes of the syntax.
...
This also includes a rework for error recovery in the parser. This is now just possible for file_input parsing, which means for full files.
Includes also a refactoring of the tokenizer. No more do we have to add an additional newline, because it now works correctly (removes certain confusion.
2015-12-20 22:25:41 +01:00
Dave Halter
23f40d8998
Merge branch 'linter' of https://github.com/reinhrst/jedi into pep484
...
Conflicts:
AUTHORS.txt
2015-12-17 23:46:20 +01:00
Dave Halter
cc3c538d9d
Merge branch 'buildout-unicode-decode-error' of https://github.com/mfussenegger/jedi into linter
2015-12-17 12:50:26 +01:00
Mathias Fussenegger
e0947a04eb
don't fail on UnicodeDecodeError in buildout script detection
...
This fixes #650
2015-12-13 21:50:09 +01:00
Claude
5a8c46d509
seperate parser and testing code
2015-12-13 21:13:20 +01:00
Dave Halter
98b1845784
Remove evaluator param from py__mro__.
2015-12-10 16:12:43 +01:00
Dave Halter
e23f453a11
Fix all remaining issues from the compiled refactoring except static analysis.
2015-12-10 01:48:08 +01:00
Dave Halter
306d274a3d
Merge dev into linter.
2015-11-10 21:52:18 +01:00
Dave Halter
84c43bf2dc
Correct issues with slices and some more subtle bugs.
2015-11-01 21:30:41 +01:00
Dave Halter
ee51b0a62f
More issues from the list of types to set of types conversion.
2015-10-30 10:32:17 +01:00