1
0
forked from VimPlug/jedi
Commit Graph

345 Commits

Author SHA1 Message Date
Dave Halter
6afc5ccca5 Few docstring fixes. 2014-12-11 15:32:45 +01:00
Dave Halter
95620accdb Fix tests for namespace packages. 2014-12-10 19:19:13 +01:00
Dave Halter
e429144979 Fix some stuff list.append stuff combined with functions executions. 2014-12-10 01:58:04 +01:00
Dave Halter
0ad6aeba6b Fix some API classes issues. Among them call signature generation and Definition.parent() issues. 2014-12-08 02:32:43 +01:00
Dave Halter
b24bf29fc2 Fixed named argument call signature stuff and issues with classes and call signature params. 2014-12-07 23:55:44 +01:00
Dave Halter
8f1002218d Very temporary solution for doing deep_ast_copy. 2014-12-04 11:19:33 +01:00
Dave Halter
f1431cef40 Decorator fixes. 2014-12-03 17:09:30 +01:00
Dave Halter
6bf154de5e Better goto for imports, which helps usages. 2014-12-03 16:15:31 +01:00
Dave Halter
536c188192 Change get_self_vars. Now using py__mro__ to avoid recursions. 2014-12-03 13:04:53 +01:00
Dave Halter
99febfe6c2 Fixed a very nasty bug in deep_ast_copy. 2014-12-02 04:19:22 +01:00
Dave Halter
235672efc1 Fix an issue for stdlib regex completion. deep_ast_copy had a bug and also changed the way how decorators work. 2014-12-01 18:09:21 +01:00
Dave Halter
2515d283be __getitem__ in instances. 2014-12-01 15:41:13 +01:00
Dave Halter
50752df6dd Fix an issue with combinations of InstanceElement and Lambdas. 2014-12-01 11:26:35 +01:00
Dave Halter
88853c78f4 Get lambdas mostly working. 2014-12-01 02:47:48 +01:00
Dave Halter
5de84afff4 Fix __getitem__ 2014-11-24 02:10:02 +01:00
Dave Halter
db76bbccc5 Trying to change the symbols in node. They are now strings.
With this change we are finally able to get rid of parser/pytree.py
2014-11-24 01:52:41 +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
8adfc47297 Fix some issues with params. 2014-11-23 12:22:03 +01:00
Dave Halter
11fa71bac8 Fixes for nested star imports. 2014-11-20 14:56:47 +01:00
Dave Halter
f2e3a3d090 Just rebuilt reversed. 2014-11-20 11:56:58 +01:00
Dave Halter
ba0e61d99f Star imports are now part of the ModuleWrapper. 2014-11-19 18:09:49 +01:00
Dave Halter
535a69e499 Small improvments to from imports 2014-11-18 18:43:16 +01:00
Dave Halter
b0109343e4 Jedi didn't care for decorator 'dotted_name' nodes and therefore descriptor tests failed. 2014-11-18 15:44:40 +01:00
Dave Halter
90ce1ac47f Simplify decorators, make them easier to read in debugging mode. 2014-11-18 15:04:20 +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
fd8752f285 Now most decorator tests pass. 2014-11-17 23:46:05 +01:00
Dave Halter
f62f181066 First decorator implementations. 2014-11-17 22:24:54 +01:00
Dave Halter
fce715b867 By disabling dynamic arrays completely, arrays are now almost fully passing. 2014-11-14 16:43:53 +01:00
Dave Halter
01178d30ea Disable dynamic array instances and fix an issue with missing the arguments class. 2014-11-14 15:55:02 +01:00
Dave Halter
e64c78503e Fix some issues with array arguments. 2014-11-14 15:19:47 +01:00
Dave Halter
278bc9d705 Fix generators. 2014-11-14 02:05:25 +01:00
Dave Halter
13a128b160 global working. 2014-11-13 18:13:56 +01:00
Dave Halter
f0a3c37fa0 __file__ should be listed as a module attribute. 2014-11-13 00:24:40 +01:00
Dave Halter
186ce2b70a Improve flow analysis a bit. 2014-11-05 19:18:45 +01:00
Dave Halter
8c775e0a18 Resolved if/else issues in instances with get_defined_names.
This also means that class tests are now passing, except for private variables, which are not that important.
2014-11-04 00:24:01 +01:00
Dave Halter
4676998fb5 Playing with params/names_dict 2014-11-03 13:38:57 +01:00
Dave Halter
0c3cba166e Make names_dict available in modules. 2014-11-02 14:22:00 +01:00
Dave Halter
f09ff04fcc Yield expressions are now separate form ReturnStmt. 2014-10-29 18:54:05 +01:00
Dave Halter
f8bb369467 __call__ issues 2014-10-28 13:36:13 +01:00
Dave Halter
1cc1d4480b Fix issues with copying children in combination with InstanceElement. 2014-10-28 13:33:40 +01:00
Dave Halter
b550f67bce Small instance refactoring, now adding is_generated as a param. 2014-10-28 11:33:28 +01:00
Dave Halter
19e083cbfb Make Leaf public 2014-10-28 11:13:33 +01:00
Dave Halter
fe7c750c2c Param is now the parent of its names and not just a helper class. 2014-10-28 02:05:44 +01:00
Dave Halter
2315d51e68 direct param evaluation 2014-10-25 14:37:01 +02:00
Dave Halter
c58975807c Small function/param corrections. 2014-10-24 01:58:56 +02:00
Dave Halter
387fc3b038 Adding prev_sibling, getting self attributes. 2014-10-23 14:03:52 +02:00
Dave Halter
971f1db823 Create a next_sibling method on _Leaf, which is then used to check for self attributes. 2014-10-23 01:36:24 +02:00
Dave Halter
abb8d0e26c get_names_dict removed and use instead the names_dict attribute. 2014-10-23 01:06:50 +02:00