1
0
forked from VimPlug/jedi
Commit Graph

174 Commits

Author SHA1 Message Date
Dave Halter
1456a156a6 get_params -> get_executed_params where possible 2018-08-05 13:53:57 +02:00
Dave Halter
1ca4d21359 Use unicode literals, to avoid potential issues 2018-02-04 00:55:45 +01:00
Dave Halter
e71f0062dd Get a lot of tests passing 2017-11-26 17:48:00 +01:00
Dave Halter
0762c9218c Move arguments to a separate module. 2017-10-01 13:29:28 +02:00
Dave Halter
39b24ff2df Move lazy contexts to a separate module not in contexts 2017-09-30 18:02:02 +02:00
Dave Halter
16011a91af Move iterable to context/iterable. 2017-09-30 17:41:21 +02:00
Dave Halter
f733e07045 AbstractSequence -> AbstractIterable. 2017-09-30 17:23:15 +02:00
Dave Halter
3c75f27376 Move the base Context stuff to another module to keep context free for imports. 2017-09-30 16:46:07 +02:00
Dave Halter
95930d293c Move instance module to the context package. 2017-09-29 15:14:56 +02:00
Dave Halter
b74c8cb033 To be able to customize ContextSet, move a subclass to evaluate.context 2017-09-27 09:20:58 +02:00
Dave Halter
174eff5875 Replace a lot more of empty sets and unite calls. 2017-09-25 23:08:59 +02:00
Dave Halter
5328d1e700 Add a ContextSet.
This is not bug free yet, but it's going to be a good abstraction for a lot of small things.
2017-09-25 11:04:09 +02:00
Dave Halter
a433ee7a7e Move common to evaluate.utils. 2017-09-20 20:33:01 +02:00
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