1
0
forked from VimPlug/jedi
Commit Graph

55 Commits

Author SHA1 Message Date
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
c7f225439d Comprehenions can also define self variables.
Also related to #932.
2017-09-09 20:20:05 +02:00
Dave Halter
40f4f032c6 Fix class/def/class nesting definitions
Fixes #932.
2017-09-09 20:13:03 +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
e85000b798 Replace memoize_default with two nicer functions. 2017-09-05 18:46:16 +02:00
micbou
175e57214e Fix instance docstring 2017-07-14 00:59:55 +02:00
Dave Halter
536e62e67d Move is_scope and get_parent_scope out of the parser. 2017-05-07 14:58:53 +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
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
81e9403aef Delete more unused code. 2016-12-17 18:00:54 +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
7084d9ab89 Fix param/argument static analysis. 2016-12-15 00:25:10 +01:00
Dave Halter
fe64df2e42 Fix displaying param names for classes. 2016-12-05 18:12:23 +01:00
Dave Halter
641ecedcd2 Improve a few anonymous function execution context goto issues. 2016-12-04 22:35:23 +01:00
Dave Halter
439e394535 Fix call signatures. 2016-12-04 03:52:33 +01:00
Dave Halter
2edbe44d64 Fix some next() stuff. 2016-12-03 03:45:27 +01:00
Dave Halter
9d4786ddcb Refactor the descriptor logic. 2016-12-02 22:13:45 +01:00
Dave Halter
c3f6172ca2 Fix dynamic arrays. 2016-11-27 21:51:05 +01:00
Dave Halter
558e8add49 Fix complex instance name resolving. 2016-11-27 11:51:12 +01:00
Dave Halter
898fefcb17 Fix dynamic params. 2016-11-26 16:53:44 +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
d15016c5c1 Fix the whole test suite of descriptors. 2016-11-16 22:57:07 +01:00
Dave Halter
ba03f1dcb9 Fix properties. 2016-11-16 21:16:12 +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
f672b367da Fix most of PEP 484. 2016-11-15 00:05:08 +01:00
Dave Halter
03aa630932 Fixed all generator tests. 2016-11-14 20:57:46 +01:00
Dave Halter
b2bdfe4a28 Array fixes except for conversions. 2016-11-13 16:18:46 +01:00
Dave Halter
21cfe4fc21 Fix the decorator issues. 2016-11-13 04:07:23 +01:00
Dave Halter
cf00c83ed8 Fix parameter issues in functions that are defined on self. 2016-11-13 03:29:36 +01:00
Dave Halter
7848be97ab Some improvements towards iterators. 2016-11-12 03:53:25 +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
40f599c3b6 Progress in creating anonymous instances. 2016-11-07 01:11:55 +01:00
Dave Halter
81ccedc353 Fix an issue with lookups. 2016-11-07 00:35:04 +01:00
Dave Halter
7f95495ca5 More instance improvements. 2016-11-06 23:50:29 +01:00
Dave Halter
cd4a7a9fc3 Implementation of BoundMethod. 2016-11-06 22:33:22 +01:00
Dave Halter
afac66d82c Working on __init__. 2016-11-06 18:28:04 +01:00