Dave Halter
bad1f85f8f
Improvements towards arrays / predefined names logic.
2016-11-25 23:31:45 +01:00
Dave Halter
7ed1c95737
Fix dynamic param tests.
2016-11-24 00:11:26 +01:00
Dave Halter
05581714d9
Fix goto tests.
2016-11-17 23:28:47 +01:00
Dave Halter
d15016c5c1
Fix the whole test suite of descriptors.
2016-11-16 22:57:07 +01:00
Dave Halter
31514dfe76
Fix a lot on PEP 484.
2016-11-14 23:29:09 +01:00
Dave Halter
14a8377817
Fix all class issues.
2016-11-10 23:43:07 +01:00
Daniel Hahler
78573b8fa2
Fix goto_definitions being invoked on a parent class
...
When invoking `goto_definitions` on `RequestFactory` in line 5, it would
jump to `Client` after 27f05de :
```python
class RequestFactory(object):
pass
class Client(RequestFactory):
pass
```
Fixes https://github.com/davidhalter/jedi/issues/761 .
2016-11-04 13:00:23 +01:00
Dave Halter
129c669bc0
Fix private variables in filters.
2016-10-15 19:12:46 +02:00
Dave Halter
9acb5cf1b3
Make it possible to do class context completions even for non functions. Fixes #639 .
2016-08-01 23:13:28 +02:00
Dave Halter
51802e9784
Fix a test that was actually wrong in Python 2.7 (not working).
2016-08-01 14:57:58 +02:00
Dave Halter
647a4db326
Autocomplete inherited methods when overriding in child class. Fixes #458 .
2016-07-31 23:09:50 +02:00
Dave Halter
62e184134b
Fix __call__ param completion. Fixes #613 .
2016-07-31 21:37:01 +02:00
Dave Halter
524a13ba26
Proof that docstring inference is working even on renamed imports. Fixes #507 .
2016-07-31 12:14:44 +02:00
Dave Halter
a4edf5d5d1
Test lambdas better.
2016-07-31 11:41:39 +02:00
Dave Halter
2b4b5f069b
Docstring should also be evaluated in class definitions. Fixes #631 .
2016-07-30 14:18:20 +02:00
Dave Halter
1fa16337b7
Fix an issue with named args goto.
2016-07-29 00:22:24 +02:00
Dave Halter
77fa2928ee
Add some completion tests.
2016-07-28 23:16:37 +02:00
Dave Halter
f605359c16
More comprehension issues.
2016-07-28 18:12:41 +02:00
Dave Halter
092299f537
Fix a recursion issue with nested for loops.
2016-07-27 23:36:44 +02:00
Dave Halter
01e577be8b
Move some recursion issues to the recursion module.
2016-07-27 22:23:30 +02:00
Dave Halter
4c6669e081
Fix another issue.
2016-07-27 21:17:12 +02:00
Dave Halter
0a4e858d88
Fix a recursion issue and add a test.
2016-07-27 19:15:03 +02:00
Dave Halter
a6dd7bf822
Fix an issue with inherited lists.
2016-07-26 09:24:51 +02:00
Dave Halter
2d544c51c6
Better completions in comments.
2016-07-25 09:58:04 +02:00
Dave Halter
2776af3db5
Fix an issue with global stmts. They caused recursionerrors when used wrong. Fixes #610 .
2016-07-18 19:23:08 +02:00
Dave Halter
20529d3405
Fix decorator issues with nested decorators and class combinations. Fixes #642 .
2016-07-17 23:55:59 +02:00
Dave Halter
68ff520cf8
Limit dynamic param searches to not go crazy in a lot of occasions. Refs #574 .
2016-07-17 19:49:43 +02:00
Dave Halter
75c1ebc2fe
Add a max_dynamic_params_depth setting to limit recusive searching for those params. It shouldn't be too crazy.
2016-07-17 13:59:19 +02:00
Dave Halter
218278af8d
Fix an issue with slice indexing.
2016-07-14 18:28:24 +02:00
Dave Halter
cc953ffff0
Goto on trailers wasn't correct. Fixes #571 .
2016-07-13 19:15:28 +02:00
Dave Halter
927534a8d5
Strange unicode characters are error tokens. Fixes #587 .
2016-07-13 08:53:08 +02:00
Dave Halter
45941a7006
Fix usage tests.
2016-07-12 23:32:33 +02:00
Dave Halter
1d8b71ba56
Add an isinstance test.
2016-07-12 19:31:28 +02:00
Dave Halter
e18c8200dd
Fixed an issue with error nodes and completion in more complex settings.
2016-07-11 17:32:00 +02:00
Dave Halter
1c0aa06c7d
PEP 3132 unpacking should not raise an error (it may yield wrong results though at the moment), fixes #707 .
2016-07-10 17:51:01 +02:00
Dave Halter
e0cb1346e1
Add basic yield from type inference. References #647 .
2016-07-09 02:33:56 +02:00
Dave Halter
baa745a6ac
A minor issue for getting the stack at a position, fixes #590 .
2016-07-08 08:39:36 +02:00
Dave Halter
adcc1c2b51
Don't delete ErrorNode names. They are part of the parser now.
...
Fixes #594 and possibly also #590 and #579 .
2016-07-07 18:33:45 +02:00
Dave Halter
4a19376187
Fix issue https://github.com/DamnWidget/anaconda/issues/449 . Using self should not cause side effects in completion.
2016-07-06 18:31:47 +02:00
Dave Halter
1ba226d4a2
Typing after all cannot be used in Python 2.6, therefore remove it again and disable the tests for 2.6 that need it.
2016-07-03 12:10:19 +02:00
Dave Halter
62786158da
Some more Python compatibility improvements.
2016-07-03 11:35:07 +02:00
Dave Halter
1ab4eb3696
Exchange the completion trailer evaluation logic. It's way more consistent now.
2016-06-23 08:47:43 +02:00
Dave Halter
32346c6da8
A lot of call signature refactorings. Note that this commit is totally broken.
2016-06-17 00:20:13 +02:00
Dave Halter
c82691a12b
Make goto_definitions a lot simpler.
2016-06-11 23:13:04 +02:00
Dave Halter
9930ab5056
Small fixes to make the tests pass again.
2016-06-11 16:50:05 +02:00
Dave Halter
82c76fa689
Merge with the linter branch (especially the changes of pep484.
2016-06-07 13:51:25 +02:00
Dave Halter
6b9f96ce13
Keyword completion is now possible in a semantic way. This includes better testing and documentation.
2016-06-06 18:32:00 +02:00
Dave Halter
028d0a2509
After as ther should not follow any completions.
2016-06-06 18:08:45 +02:00
Dave Halter
c12dbe0b9e
Fix a few tests that failed, because they were not correct python (the context was wrong).
2016-05-30 20:10:17 +02:00
Dave Halter
4f6368e7eb
Now ErrorLeaf and ErrorNode are part of the syntax tree. This makes probably sense. The documentation will follow once it's clear how they will shape out.
2016-05-30 00:34:58 +02:00