1
0
forked from VimPlug/jedi
Commit Graph

142 Commits

Author SHA1 Message Date
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
Dave Halter
8daa0b8784 Introduce an additional node parameter for py__iter__ which helps static analysis. 2015-12-03 11:52:54 +01:00
Dave Halter
05798734bf Fix an issue with the new set of types instead of lists.
This commit also includes some comments and improvements for debugging.
2015-10-29 20:53:14 +01:00
Dave Halter
844a011193 Replacing the types list with a types set. Some tests are failing, though. 2015-10-13 18:03:36 +02:00
Dave Halter
3a306a4f25 Fix comprehensions type issues. 2015-09-22 02:13:20 +02:00
Dave Halter
ef4b424cda Replace pr with tree, #566. 2015-04-28 01:34:31 +02:00
Dave Halter
6d3bb5c4b1 Fix generator comprehensions issue when used as an argument. 2015-03-02 03:06:58 +01:00
Dave Halter
b8a8c4d402 Fix an array lookup issue. list.pop calls work now pretty well and return the right type. 2015-02-26 13:57:54 +01:00
Dave Halter
cdbe26786a Trying to get ird of the weird param generation in the parser tree. 2015-02-10 15:49:26 +01:00
Dave Halter
bfaef9815c Remove _gen_param_name_copy, because it's not useful anymore. 2014-12-19 12:51:56 +01:00
Dave Halter
e22aed9ef4 Restructure ExecutedParam so that it works better with generated instances. 2014-12-19 12:42:09 +01:00
Dave Halter
4a08335fd8 Simplify ExecutedParam. 2014-12-19 01:21:00 +01:00
Dave Halter
b802e97c18 Delete legacy code from params. 2014-12-19 01:11:14 +01:00
Dave Halter
47615ae786 Remove pr.Array.type identifiers. 2014-12-19 01:05:52 +01:00
Dave Halter
576a1182af Remove legacy code from param. However, this there's still work needed on params. 2014-12-16 17:37:20 +01:00
Dave Halter
af303e10c8 Statement -> ExprStmt. 2014-12-15 16:18:09 +01:00
Dave Halter
f0c6e5709c Some temporary args/kwargs related changes to static analysis. 2014-12-15 14:58:16 +01:00
Dave Halter
70e80a5d1c star argument bug fixes. 2014-12-13 08:37:20 +01:00
Dave Halter
7d9f85c762 invalid star star arguments. 2014-12-13 08:34:03 +01:00
Dave Halter
ddd4d675f6 star args improvements 2014-12-13 08:17:38 +01:00