1
0
forked from VimPlug/jedi
Commit Graph

1373 Commits

Author SHA1 Message Date
Dave Halter
e7fcc21863 Remove both MergedNodes and AlreadyEvaluated, they are unused. 2017-01-23 20:36:26 +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
d85ceb9222 More cleanups in the parser. 2017-01-23 20:10:02 +01:00
Dave Halter
645841d98c Remove more unused code. 2017-01-23 19:51:30 +01:00
Dave Halter
98185d530e Simplify deep_ast_parser a lot. 2017-01-12 21:51:02 +01:00
Dave Halter
425fba5e95 Move the parser.fast module to parser.diff. 2017-01-10 19:15:47 +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
d3c437e891 Restructure yield code to make it less error prone. 2017-01-07 12:43:15 +01:00
Dave Halter
1f15ee8bc7 Fix an issue with contexts. 2017-01-06 00:08:01 +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
b44f0aae5d Remove the origin_scope from filters that don't need it. 2017-01-05 21:57:06 +01:00
Dave Halter
9fb2644f03 Fix an issue with creating contexts. 2017-01-05 18:05:24 +01:00
Dave Halter
01099ce5a9 Create a name for the generators. 2017-01-04 18:12:33 +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
5d071ede8c Fix the typing module issues in Python 3.6. 2017-01-02 15:01:12 +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
464968aed7 Fix an issue where compiled object api types raised an error. 2016-12-21 00:23:50 +01:00
Dave Halter
4e62e98539 Fix an issue with displaying attribute errors. 2016-12-18 21:37:15 +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
9cbfb76eb5 Fix getting the names for specific scopes in jedi.names. 2016-12-17 17:50:41 +01:00
Dave Halter
5c52c7fb45 Completely remove names_dicts from the diff parser. 2016-12-17 17:15:44 +01:00
Dave Halter
589e1906e4 Cleanup the finder. 2016-12-17 16:59:21 +01:00
Dave Halter
437f915f35 Delete a lot of names dict related stuff but also other things that were not used anymore. 2016-12-17 16:51:28 +01:00
Dave Halter
07b58bc549 Cleanup function executions. 2016-12-17 16:44:26 +01:00
Dave Halter
75e09baee9 Some Python 2 fixes. 2016-12-17 16:19:01 +01:00
Dave Halter
880aa152fb Fix an import test and with this finally the whole 3.3 test suite is working again. 2016-12-17 16:15:23 +01:00
Dave Halter
57857b6332 Remove the ImportWrapper and replace it with something simpler. 2016-12-17 16:08:37 +01:00
Dave Halter
173c939956 Add a comment. 2016-12-17 14:29:53 +01:00
Dave Halter
6bccbb562a Fix some utils completions. 2016-12-17 14:25:52 +01:00
Dave Halter
ce0a02f6c1 Fix an issue with executed python objects. 2016-12-17 14:08:49 +01:00
Dave Halter
d93f6815fc Refactor test_interpreter. 2016-12-16 18:55:21 +01:00
Dave Halter
5fb5580259 Fix a few things that were broken by the mixed object refactoring. 2016-12-16 17:29: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
a4fdc716b0 Improve a doctest. 2016-12-15 01:07:44 +01:00
Dave Halter
6fe9971122 Remove a debugging statement. 2016-12-15 00:34:50 +01:00
Dave Halter
edf1c319c6 Fix all remaining static analysis tests. This time we have just hacked around and added proper contexts to the iterables. It's not as clean as it could be. 2016-12-15 00:34:14 +01:00
Dave Halter
3a84e04df7 Remove unused code. 2016-12-15 00:26:47 +01:00
Dave Halter
7084d9ab89 Fix param/argument static analysis. 2016-12-15 00:25:10 +01:00
Dave Halter
6c4abcc84c Fix some more issues with imports and attribute warnings of static analysis. 2016-12-14 01:35:55 +01:00
Dave Halter
4074ca1e84 Fix some static analysis tests like attribute errors and normal arguments. 2016-12-14 01:04:57 +01:00
Dave Halter
59a432bddd Fix flow analysis a bit in static analysis cases. 2016-12-13 18:07:41 +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