1
0
forked from VimPlug/jedi
Commit Graph

161 Commits

Author SHA1 Message Date
Dave Halter
078b5802d2 Remove unused code. 2017-09-09 17:58:06 +02:00
Dave Halter
37ec79241c Remove the only param for AnonymousArguments. 2017-09-09 17:58:06 +02:00
Dave Halter
04c4313dc7 Start refactoring arguments. 2017-09-09 17:58:06 +02:00
Dave Halter
d2b4e0511f Ignore stdlib paths for dynamic param inference. 2017-09-07 00:09:14 +02:00
Dave Halter
ff001e07a6 In parso params is now get_params(). 2017-08-06 17:35:05 +02:00
Dave Halter
9bca3d39f5 Actually use parso now instead of Jedi. 2017-05-19 14:20:14 -04:00
Dave Halter
0f1570f682 position_nr -> position_index 2017-04-30 14:12:30 +02:00
Dave Halter
c124fc91ca Remove further clean_scope_docstring usages. 2017-04-26 09:52:18 +02:00
Dave Halter
bea28fd33f Give ExecutionParams a better way of knowing what called them. 2017-04-26 09:32:47 +02:00
Dave Halter
f136745a8a follow_param -> infer_param. 2017-04-20 18:09:00 +02:00
Dave Halter
d6d25db9a2 Remove __str__ from name. 2017-04-12 23:06:11 +02:00
Dave Halter
545cb26f78 stars -> star_count. 2017-04-08 15:26:57 +02:00
Dave Halter
448bfd0992 Move the python parser tree. 2017-03-16 17:20: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
a4fdc716b0 Improve a doctest. 2016-12-15 01:07:44 +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
4074ca1e84 Fix some static analysis tests like attribute errors and normal arguments. 2016-12-14 01:04:57 +01:00
Dave Halter
eaf0100446 Some analysis improvements. 2016-12-11 15:03:19 +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
d15016c5c1 Fix the whole test suite of descriptors. 2016-11-16 22:57:07 +01:00
Dave Halter
f672b367da Fix most of PEP 484. 2016-11-15 00:05:08 +01:00
Dave Halter
65d3e29146 dostring fixes. 2016-11-13 20:23:17 +01:00
Dave Halter
14a8377817 Fix all class issues. 2016-11-10 23:43:07 +01:00
Dave Halter
cfc988b786 Fix super calls. 2016-11-10 09:00:24 +01:00
Dave Halter
6899c8f646 Fix __getattribute__ and __getattr__. 2016-11-09 22:23:04 +01:00
Dave Halter
20380e80b0 Remove type(self).__name__ occurences, because python 2 will always output 'instance'. 2016-11-08 19:18:03 +01:00
Dave Halter
4a8fd73601 Fixing getattr tests. 2016-11-07 20:15:58 +01:00
Dave Halter
cd4a7a9fc3 Implementation of BoundMethod. 2016-11-06 22:33:22 +01:00
Dave Halter
82667b85b9 Publicize the _evaluator in contexts. 2016-11-03 09:54:47 +01:00
Dave Halter
63b6fa1416 All function tests are passing, yay! 2016-11-03 09:43:24 +01:00
Dave Halter
694a2e0769 Cleanup even more param magic. 2016-11-02 16:29:32 +01:00
Dave Halter
cd874cb052 Trying to get dyanmic params working. 2016-11-02 11:11:21 +01:00
Dave Halter
9a55c9cf50 Most function calls seem to work now. 2016-11-01 00:44:57 +01:00
Dave Halter
4aec9cadd7 Function **kwargs fixes. 2016-11-01 00:23:44 +01:00
Dave Halter
6d8ff9293d Fixes to decorators and *arg functions. 2016-10-31 09:19:58 +01:00
Dave Halter
c537d360f3 More fixes to *args type inference. 2016-10-30 01:35:36 +02:00
Dave Halter
3cce530ef4 Taking a stab at simple *args and generators. 2016-10-29 02:11:04 +02:00
Dave Halter
a620c7dbdb Try to get star arguments working just a little bit. 2016-10-27 18:14:20 +02:00
Dave Halter
e34246eb00 Fix __call__. 2016-10-24 00:39:59 +02:00
Dave Halter
0475bb5fd0 First function execution that is working. 2016-10-23 03:02:57 +02:00
Dave Halter
cad9ae8ab1 Start implemeting contexts with specialized TreeNameDefinitions to avoid gambling with the parser. 2016-10-20 19:36:44 +02:00
Claude
8819b2133a further fix for *-arguments in arglist 2016-02-09 18:23:24 +01:00
Claude
de98cda2d7 python3.5 uses 'argument' node type, not 'arglist' for * and ** arguments 2016-02-09 17:12:26 +01:00
Dave Halter
0acc5256ea Implement imitate_items(), which helps if you use {}.items(). 2016-01-01 12:43:07 +01:00
Dave Halter
7b8d4e86ac The evaluator recursion limitations are now reset in static analysis for each node, otherwise it's incredibly unprecise. 2015-12-13 17:18:19 +01:00
Dave Halter
b10a048167 Get rid of Array.values() and Array.__iter__(). 2015-12-10 15:56:45 +01:00
Dave Halter
9bd6e6c340 Fix: iterators are working smoothly now. Finally tests are passing again. 2015-12-10 04:37:23 +01:00
Dave Halter
21faf2431a Added isinstance type checks in the linter. 2015-12-03 16:14:26 +01:00