1
0
forked from VimPlug/jedi
Commit Graph

441 Commits

Author SHA1 Message Date
Dave Halter
6d8ff9293d Fixes to decorators and *arg functions. 2016-10-31 09:19:58 +01:00
Dave Halter
a620c7dbdb Try to get star arguments working just a little bit. 2016-10-27 18:14:20 +02:00
Dave Halter
90af0c36e0 Function -> FunctionContext and fakes use the FunctionContext, too. 2016-10-25 09:59:42 +02:00
Dave Halter
64b6396d19 Fix one array usage. 2016-10-24 09:58:40 +02:00
Dave Halter
5b1d62a11e Fix the recursion detection. 2016-10-24 01:03:17 +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
75b67af000 Starting to improve function calls. 2016-10-22 21:02:15 +02:00
Dave Halter
2e6603cc2e A lot of small improvements. 2016-10-22 17:40:42 +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
Dave Halter
37ba971787 Trying to start implementing instance filters. 2016-10-06 16:35:53 +02:00
Dave Halter
0a4e858d88 Fix a recursion issue and add a test. 2016-07-27 19:15:03 +02:00
Dave Halter
2776af3db5 Fix an issue with global stmts. They caused recursionerrors when used wrong. Fixes #610. 2016-07-18 19:23:08 +02:00
Dave Halter
75c1ebc2fe Add a max_dynamic_params_depth setting to limit recusive searching for those params. It shouldn't be too crazy. 2016-07-17 13:59:19 +02:00
Dave Halter
218278af8d Fix an issue with slice indexing. 2016-07-14 18:28:24 +02:00
Dave Halter
3a0008ea80 Simplification. 2016-07-14 08:40:32 +02:00
Dave Halter
cc953ffff0 Goto on trailers wasn't correct. Fixes #571. 2016-07-13 19:15:28 +02:00
Dave Halter
689284c615 Refactor Evaluator.wrap to use the types in a more consequent way. 2016-06-29 21:06:35 +02:00
Dave Halter
8e67facecc Refactoring: call_of_name -> call_of_leaf. 2016-06-21 18:42:20 +02:00
Dave Halter
27f05de3b7 Fix a few more issues, mostly with the fast parser. 2016-06-13 18:21:17 +02:00
Dave Halter
a485412af0 Rename goto_definition to goto_definitions. 2016-06-11 23:16:44 +02:00
Dave Halter
c82691a12b Make goto_definitions a lot simpler. 2016-06-11 23:13:04 +02:00
Dave Halter
82c76fa689 Merge with the linter branch (especially the changes of pep484. 2016-06-07 13:51:25 +02:00
Dave Halter
5edcf47512 Break Interpreter completion even more in favor of a better solution in the future. 2016-06-03 19:31:42 +02:00
Claude
ca08b8270b combine power-or-atom_expr statements into one statement 2016-02-15 10:20:25 +01:00
Claude
bc0486f723 python 3.5 uses atom_expr node in many places where previous python would use power node 2016-02-09 11:21:26 +01:00
Claude
cc6bd7d161 rework so that it also works withouty pep0484 type hints in jedi_typing.py 2016-01-17 10:41:40 +01:00
Dave Halter
379eb440cd Fix: the parent setting of deep_ast_copy worked the wrong way. 2016-01-07 18:52:06 +01:00
Dave Halter
43ad4cfeb8 Ellipsis comparisons are working now. Ellipsis was previously ignored. 2016-01-07 10:41:34 +01:00
Dave Halter
c0f7e9f820 Fix an issue with predefined_if_name_dict. 2015-12-27 17:30:40 +01:00
Dave Halter
03eaf8455f Dict comprehensions are working partially. 2015-12-27 17:20:49 +01:00
Dave Halter
b3f7d0c29a Get Set comprehensions working. 2015-12-27 15:37:27 +01:00
Dave Halter
936cef97e9 Fix param position lookups. Also forward annotations have the correct resolution path now (starting at the end of the file). 2015-12-22 11:25:32 +01:00
Dave Halter
5791860861 Actual forward reference annotations are working pretty smooth now. 2015-12-20 22:57:41 +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
75ac2b9686 Enable better ways for analysis to analyze loop variables. 2015-12-11 20:25:49 +01:00
Dave Halter
8d3be10270 Fix issues in Python 2.7. 2015-12-10 17:20:21 +01:00
Dave Halter
afb1d6c3b8 Remove evaluator param from py__call__. 2015-12-10 16:20:46 +01:00
Dave Halter
bef5fca516 Refactor compiled.CompiledObject so it always owns an evaluator instance. 2015-12-08 02:19:33 +01:00
Dave Halter
d65684a40b Fix py__getitem__ on Array. 2015-12-05 02:48:20 +01:00
Dave Halter
db060c70c9 Start creating py__getitem__. 2015-12-04 12:08:29 +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
d835ffc5a3 Get rid of ordered_elements_of_iterable and use py__iter__ instead. 2015-12-02 13:39:22 +01:00
Dave Halter
55615fb3c1 unite returns a set now, this simplifies all the set(unite( calls. 2015-11-28 17:52:39 +01:00
Dave Halter
8d65129a19 Power operation was not implemented before. 2015-11-20 18:26:39 +01:00
Dave Halter
030131d705 Forget to make the set comprehension result a set(). 2015-11-20 15:05:15 +01:00
Dave Halter
ffaf81bf1b Fix: Set/Dict Comprehensions don't raise an error. They are just ignored for now. 2015-11-20 14:51:52 +01:00
Dave Halter
595b803f1f Fix an issue with strings that can be chained in the parser. 2015-11-17 11:38:51 +01:00
Dave Halter
03efbca586 Tried to get the recursion issues with if stmts working. 2015-11-16 11:44:25 +01:00
Dave Halter
306d274a3d Merge dev into linter. 2015-11-10 21:52:18 +01:00