1
0
forked from VimPlug/jedi
Commit Graph

441 Commits

Author SHA1 Message Date
Dave Halter
1fd10d978d Replace a few isinstance calls with the type. 2017-04-01 00:26:22 +02:00
Dave Halter
6a9c2f8795 Start using ContextualizedNode for py__iter__. 2017-03-28 01:34:07 +02:00
Dave Halter
448bfd0992 Move the python parser tree. 2017-03-16 17:20:32 +01:00
Dave Halter
445bf6c419 Get rid of get_parent_until. 2017-02-03 09:59:32 +01:00
Dave Halter
7623b1e350 Removed tree.is_node.
It's not needed anymore, because we have Node/Leaf.type now.
2017-01-23 20:34:30 +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
3f09f3a304 Add support for PEP 0526.
This makes it possible to assign variables like

    asdf: typing.List[int] = []
2017-01-08 03:57:35 +01:00
Dave Halter
6a18ddf8cb Fix await issues. At the moment Jedi is just ignoring await statements. 2017-01-07 15:27:32 +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
9fb2644f03 Fix an issue with creating contexts. 2017-01-05 18:05:24 +01:00
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
b7ae8a746c Simplify recursion issues. 2016-12-18 17:24:20 +01:00
Dave Halter
0daf3e4e9f Remove an unused recursion decorator. 2016-12-17 18:13:53 +01:00
Dave Halter
81e9403aef Delete more unused code. 2016-12-17 18:00:54 +01:00
Dave Halter
57857b6332 Remove the ImportWrapper and replace it with something simpler. 2016-12-17 16:08:37 +01:00
Dave Halter
9ac301d0c3 Refactor the mixed objects a bit to make at least some interpreter tests pass. 2016-12-16 17:17:03 +01:00
Dave Halter
eaf0100446 Some analysis improvements. 2016-12-11 15:03:19 +01:00
Dave Halter
2be5da3f85 Fix some old regression tests. 2016-12-07 01:30:30 +01:00
Dave Halter
97ccb74ebb Api classes test fixes. 2016-12-07 01:00:03 +01:00
Dave Halter
becf1027c0 Refactor our create_context constructs. 2016-12-06 09:51:57 +01:00
Dave Halter
641ecedcd2 Improve a few anonymous function execution context goto issues. 2016-12-04 22:35:23 +01:00
Dave Halter
6f4cd7e6d3 Improve api class tests. 2016-12-04 20:04:54 +01:00
Dave Halter
f355c04cae Finally fixed all black box tests in python 2. 2016-12-03 13:37:51 +01:00
Dave Halter
7607db801f Rewrite the next function. 2016-12-03 02:54:09 +01:00
Dave Halter
565989cf07 More small bug fixes. 2016-12-02 15:21:50 +01:00
Dave Halter
dfc06dfe83 A lot of small bug fixes. 2016-12-02 15:08:54 +01:00
Dave Halter
16a48a7a45 Fix a lot of list comprehensions. 2016-12-02 11:17:55 +01:00
Dave Halter
481a917ada Remove the wrapper from the class. 2016-11-28 09:49:37 +01:00
Dave Halter
f6070496ad Fixes to the isinstance tests. 2016-11-28 09:34:59 +01:00
Dave Halter
898fefcb17 Fix dynamic params. 2016-11-26 16:53:44 +01:00
Dave Halter
fe54285311 Only 125 fails left in the integration tests. 2016-11-26 00:25:31 +01:00
Dave Halter
bad1f85f8f Improvements towards arrays / predefined names logic. 2016-11-25 23:31:45 +01:00
Dave Halter
8fd08c86b7 Fix some mostly iterable related stuff. 2016-11-24 21:06:55 +01:00
Dave Halter
7ed1c95737 Fix dynamic param tests. 2016-11-24 00:11:26 +01:00
Dave Halter
06efc8fb8c Fixing lambdas. 2016-11-20 22:09:45 +01:00
Dave Halter
05581714d9 Fix goto tests. 2016-11-17 23:28:47 +01:00
Dave Halter
af7c13d2e6 List comprehensions now at least don't cause errors anymore. 2016-11-16 09:43:45 +01:00
Dave Halter
b2bdfe4a28 Array fixes except for conversions. 2016-11-13 16:18:46 +01:00
Dave Halter
7848be97ab Some improvements towards iterators. 2016-11-12 03:53:25 +01:00
Dave Halter
052f6bf9e7 Fix some small import stuff and the whole ordering tests. 2016-11-11 00:45:16 +01:00
Dave Halter
4a8fd73601 Fixing getattr tests. 2016-11-07 20:15:58 +01:00
Dave Halter
40f599c3b6 Progress in creating anonymous instances. 2016-11-07 01:11:55 +01:00
Dave Halter
afac66d82c Working on __init__. 2016-11-06 18:28:04 +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
cd874cb052 Trying to get dyanmic params working. 2016-11-02 11:11:21 +01:00
Dave Halter
f57455f0ad Deprecate Evaluator.wrap. 2016-11-01 23:38:06 +01:00
Dave Halter
2eb701d2d2 Some class fixes. 2016-11-01 18:28:47 +01:00