1
0
forked from VimPlug/jedi
Commit Graph

78 Commits

Author SHA1 Message Date
Dave Halter
06efc8fb8c Fixing lambdas. 2016-11-20 22:09:45 +01:00
Dave Halter
b77fa58058 Fix most usage tests. 2016-11-19 02:24:34 +01:00
Dave Halter
052f6bf9e7 Fix some small import stuff and the whole ordering tests. 2016-11-11 00:45:16 +01:00
Dave Halter
14a8377817 Fix all class issues. 2016-11-10 23:43:07 +01:00
Dave Halter
4a8fd73601 Fixing getattr tests. 2016-11-07 20:15:58 +01:00
Dave Halter
63b6fa1416 All function tests are passing, yay! 2016-11-03 09:43:24 +01:00
Dave Halter
cd874cb052 Trying to get dyanmic params working. 2016-11-02 11:11:21 +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
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
68ff520cf8 Limit dynamic param searches to not go crazy in a lot of occasions. Refs #574. 2016-07-17 19:49:43 +02:00
Dave Halter
becbbb2e64 Refactor the dynamic params functionality. 2016-07-17 19:05:47 +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
a485412af0 Rename goto_definition to goto_definitions. 2016-06-11 23:16:44 +02:00
Claude
ca08b8270b combine power-or-atom_expr statements into one statement 2016-02-15 10:20:25 +01:00
Claude
241abe9cf3 python 3.5 uses atom_expr node in many places where previous python would use power node 2016-02-09 11:42:53 +01:00
Dave Halter
70160d97e7 Debugging with more colors, yay. 2015-10-18 14:19:03 +02: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
bb02f99de3 Dynamically created trailers need a parent, otherwise it can lead to crashes. 2015-04-28 16:40:58 +02:00
Dave Halter
ef4b424cda Replace pr with tree, #566. 2015-04-28 01:34:31 +02:00
Dave Halter
d038fba9df er.wrap -> Evaluator.wrap 2015-04-23 13:51:42 +02:00
Dave Halter
ec7a609e44 Remove some unnecessary code in dynamic.py 2015-03-05 01:13:43 +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
580dcb06ff Clean up the dynamic module. 2014-12-16 17:39:50 +01:00
Dave Halter
4a8bbd9583 Restructure dynamic param search, so that it can be cached better. 2014-12-15 13:39:53 +01:00
Dave Halter
0184e80120 dynamic_params correction. 2014-11-29 13:49:50 +01:00
Dave Halter
9f45f18ad1 Added a grammar param to the parser. 2014-11-24 01:10:39 +01:00
Dave Halter
c152a1c58b Actually replace tree with representation (in all the imports). 2014-11-23 19:46:52 +01:00
Dave Halter
267016f533 Function for evaluating functions with already executed arguments. 2014-11-23 19:12:25 +01:00
Dave Halter
b5418d9d73 Small issue with dynamic params. 2014-11-20 00:25:03 +01:00
Dave Halter
6d866eb915 Small cleanup: Dynamic params comparison works now with the evaluator functions. 2014-11-18 13:28:24 +01:00
Dave Halter
f9276a8bd2 Fix issues with decorators and dynamic params combined. 2014-11-18 13:04:05 +01:00
Dave Halter
9ac66261c9 Fi dynamic param stuff combined with list comprehensions. 2014-11-17 17:54:12 +01:00
Dave Halter
ae3ff35674 Fix issues with buggy trailers in dynamic params. 2014-11-17 17:49:34 +01:00
Dave Halter
da5273ce20 Fix issues with dynamic class parameter completion. 2014-11-17 17:07:32 +01:00
Dave Halter
259aa6bd5f First dynamic params working. 2014-11-17 16:23:18 +01:00
Dave Halter
2dfbc2a0fd Start to rework dynamic params. However goto is now needed first. 2014-11-17 12:34:32 +01:00
Dave Halter
03e01631cc Remove NamePart from existance and rename it to Name. 2014-09-26 16:29:53 +02:00
Dave Halter
78bd775889 Only real modules should be added in get_modules_containing_name. 2014-09-19 18:05:57 +02:00
Dave Halter
483f5c14ee Listeneres should be removed even in exception cases. Do a 'finally' cleanup. 2014-08-07 16:27:57 +02:00
Dave Halter
0a0673e87c refactoring in dynamic param searching 2014-08-04 01:39:05 +02:00
Dave Halter
7bba12e8c5 comments 2014-08-03 23:00:32 +02:00
Dave Halter
870abe73d4 Calling an InstanceElement of an Instance of CompiledObject doesn't raise an error anymore. Yes, it's really that complicated. 2014-07-30 19:49:41 +02:00
Dave Halter
3e0f719915 changed the way how the dynamic param function searches it's parent scope, to enable smooth list comprehension following 2014-06-22 13:48:30 +02:00
Dave Halter
248cca2e5e fix issues with empty *args as inputs 2014-05-31 11:03:37 +02:00
Dave Halter
eaf54942fc fix a slice issue with precedences. 2014-04-21 02:30:17 +02:00
Dave Halter
67f49da15c Increase maximum recursion depth. Makes sense for very complicated code (completions within Jedi), since Jedi itself uses so many recursions. 2014-04-20 14:55:05 +02:00
Dave Halter
240b0c9581 NamePart doesn't have an __eq__ method anymore 2014-04-18 14:36:10 +02:00
Dave Halter
394e2e77de refactored the development docs, which was badly needed especially since evaluate/dynamic.py doesn't contain a lot of functionality anymore. 2014-03-11 17:26:38 +01:00
Dave Halter
3126031ff2 move module checking again - probably the last time (resolves an import issue) 2014-01-07 15:20:00 +01:00
Dave Halter
a74b7299e2 scan_statement -> scan_statement_for_calls 2014-01-07 15:10:19 +01:00