Dave Halter
cd23499fbe
Fix param issues in goto definition.
2017-01-04 08:58:29 +01:00
Dave Halter
24457bfe2e
Fix some usage cases of comprehensions.
2017-01-03 02:15:04 +01:00
Dave Halter
306fd5b95b
Fix a recursion issue.
2017-01-02 23:57:59 +01:00
Dave Halter
5b9e5f96aa
Merge with master.
2017-01-02 13:05:45 +01:00
Dave Halter
96bb9e3c1a
LazyContext.infer() should return a set.
2017-01-02 12:15:09 +01:00
Dave Halter
7fdcdbbd5c
Temporarily execute a string, because currently not everything is working properly.
2016-12-18 19:17:25 +01:00
Dave Halter
641ecedcd2
Improve a few anonymous function execution context goto issues.
2016-12-04 22:35:23 +01:00
Dave Halter
f355c04cae
Finally fixed all black box tests in python 2.
2016-12-03 13:37:51 +01:00
Dave Halter
da1a163da7
Fix python 2 string iterators.
2016-12-03 02:08:40 +01:00
Dave Halter
16a48a7a45
Fix a lot of list comprehensions.
2016-12-02 11:17:55 +01:00
Dave Halter
ba52ecd0df
Some isinstance/flow analysis improvements.
2016-11-29 18:19:15 +01:00
Dave Halter
5b81a2375d
More tests and better understanding of if/try branches name resolution.
2016-11-29 10:21:50 +01:00
Dave Halter
4ad0179b72
Fix named param completion and add a few tests.
2016-11-27 11:27:30 +01:00
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