1
0
forked from VimPlug/jedi
Commit Graph

2169 Commits

Author SHA1 Message Date
Dave Halter
c4601b835f Don't go crazy with big lists. 2017-09-07 01:26:53 +02:00
Dave Halter
e85000b798 Replace memoize_default with two nicer functions. 2017-09-05 18:46:16 +02:00
Dave Halter
882f8029ea Use split_lines and python_bytes_to_unicode directly. 2017-09-03 18:38:00 +02:00
Dave Halter
ef89593896 Disable more tests in Python2.6, because of set literals that don't exist there. 2017-09-03 02:01:43 +02:00
Dave Halter
957f2cedf4 Disable some tests that don't run in 2.6, because its syntax doesn't support it. 2017-09-03 01:23:54 +02:00
Dave Halter
b64690afb8 Param defaults were not correctly followed when goto was used on them. 2017-09-03 00:22:59 +02:00
Dave Halter
6419534417 Some more _get_definition fixes 2017-09-02 21:37:59 +02:00
Dave Halter
7e19e49200 Start replacing get_definitions. 2017-09-02 17:48:01 +02:00
Dave Halter
9cac7462d6 Return statements should be handled correctly if the return_stmt is only a return without an expression behind it. 2017-09-02 14:03:54 +02:00
Dave Halter
c47f5ca68c Fix issues with yield. 2017-09-01 18:38:19 +02:00
Dave Halter
e2d53f51b0 test for yields in expressions. 2017-09-01 18:08:52 +02:00
Dave Halter
a37201bc1d Finally fixing the Python 2 issues with static_getattr. 2017-08-13 22:24:50 +02:00
Dave Halter
13a0d63091 Add Python 2 compatibility. 2017-08-12 23:15:16 +02:00
Dave Halter
88cfb2cb91 Remove side effects when accessing jedi from the interpreter.
Note that there is http://bugs.python.org/issue31184.
Fixes #925.
2017-08-12 22:49:05 +02:00
Dave Halter
997cb2d366 Merge branch 'dev' of github.com:davidhalter/jedi into dev 2017-08-12 22:45:47 +02:00
bcolsen
3422b21c62 Added Yields test 2017-08-09 00:37:29 -06:00
bcolsen
77d6de0ae5 fix test skip and py3.6 2017-08-08 23:30:02 -06:00
bcolsen
d19a97f53a Numpydocs and compiled objects return types 2017-08-08 22:46:33 -06:00
Dave Halter
7e4504efbd Fix ellipsis issues of python2. 2017-07-16 20:07:49 +02:00
Dave Halter
54490be1b2 parso.load_grammar now needs version as a keyword argument. 2017-07-16 17:16:37 +02:00
Dave Halter
2fcd2f8f89 Fix some more stuff because of newer parso changes. 2017-07-14 18:21:52 +02:00
micbou
175e57214e Fix instance docstring 2017-07-14 00:59:55 +02:00
micbou
f5248250d8 Fix keyword docstring 2017-07-14 00:22:27 +02:00
Dave Halter
e0485b032e Fix some stuff to make parso work again. 2017-06-02 00:00:31 +02:00
Dave Halter
b9271cf5a5 Use the parser_cache correctly. 2017-05-26 13:43:18 -04:00
Dave Halter
76529ca34d The parser_cache contents have changed. Therefore adapt. 2017-05-26 12:52:52 -04:00
Dave Halter
f94ef63ff2 Remove load_python_grammar for tests as well. 2017-05-25 13:36:40 -04:00
Dave Halter
ef2e2f343e Fix some warnings. 2017-05-25 12:24:21 -04:00
Dave Halter
7173559182 Move a test to parso. 2017-05-24 00:41:55 -04:00
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
c7984c0710 Add a requirements.txt.
Also use it within setup.py. It doesn't seem possible to define dependencies for tox with install_requires.
2017-05-20 17:22:34 -04:00
Dave Halter
50c7137437 splitlines and source_to_unicode are utils of parso. 2017-05-20 09:55:16 -04:00
Dave Halter
0f4b7db56a Move jedi parser cache tests to parso. 2017-05-19 15:04:28 -04:00
Dave Halter
3c2b10a2a0 Remove a test that wasn't used for a long time. 2017-05-19 14:45:36 -04:00
Dave Halter
576c8cb433 Remove a star import cache test (the star import cache doesn't exist anymore). 2017-05-19 14:24:48 -04:00
Dave Halter
9bca3d39f5 Actually use parso now instead of Jedi. 2017-05-19 14:20:14 -04:00
Dave Halter
fb1c208985 Remove the tests that have been moved to parso. 2017-05-19 10:23:56 -04:00
Dave Halter
3c57f781dd Move another few tests. 2017-05-15 15:18:42 -04:00
Dave Halter
f4548d127c Some simplifications for the parsers. 2017-05-15 15:02:45 -04:00
Dave Halter
882ddbf8ac Move some more parser tests. 2017-05-15 15:00:34 -04:00
Dave Halter
0a8c96cd22 Remove a test that is really not necessary anymore, because the issues that it was covering back then are not issues anymore with the new infrastructure. 2017-05-15 14:53:50 -04:00
Dave Halter
6848762f7c Move some more tests. 2017-05-15 14:51:25 -04:00
Dave Halter
f8b5aab6f4 Move some parser tests. 2017-05-15 13:57:26 -04:00
Dave Halter
9fb7fb66da Move another test to delete a file. 2017-05-07 16:39:32 +02:00
Dave Halter
3b033bb276 Remove two tests that are not necessary anymore because the code that made them necessary was removed (some import hacks). 2017-05-07 16:33:24 +02:00
Dave Halter
ab71c943ee Move a parser test to the correct place. 2017-05-07 16:29:48 +02:00
Dave Halter
d717c3bf40 Merge some import tests. 2017-05-07 16:20:49 +02:00
Dave Halter
f9f60177bf Move an analysis test. 2017-05-07 16:14:21 +02:00
Dave Halter
6b7376bc5d Move some stdlib tests. 2017-05-07 16:06:01 +02:00