1
0
forked from VimPlug/jedi
Commit Graph

4666 Commits

Author SHA1 Message Date
David Halter a33160eb25 added parent_stmt to fast_parent_copy, which makes the method more reliable 2012-08-29 23:42:18 +02:00
David Halter 73f341866c added recursion decorator / fast_parent_copy fix 2012-08-29 22:53:51 +02:00
David Halter 21db1c26c6 more of CachedMetaClass in evaluate 2012-08-28 12:24:25 +02:00
David Halter 15ff3d6af1 fixed failed type tests 2012-08-28 00:51:37 +02:00
David Halter 49ec21a404 invalid list comprehensions should not raise exceptions anymore 2012-08-28 00:37:50 +02:00
David Halter e7dd205c34 nested list comprehensions are working + tests 2012-08-27 23:30:07 +02:00
David Halter f03d8122f5 parser support for nested list comprehensions 2012-08-27 22:06:14 +02:00
David Halter 6e59e96f78 working list comprehensions with tests. 2012-08-27 17:52:16 +02:00
David Halter 5d6e30c6ab moved PushBackIterator to parsing 2012-08-27 15:18:03 +02:00
David Halter 9fd7b96043 preparations for list comprehensions in the parser 2012-08-27 14:56:47 +02:00
David Halter 19b03ccbe9 new jedi test, which is working pretty good 2012-08-27 11:55:04 +02:00
David Halter 33e5850105 dynamic arrays in executions and instances should now work fully, some things got simplified, now it works. 2012-08-27 11:36:44 +02:00
David Halter 0d9a6282e7 little change in recursion decorator, ignored nodes should be ignored for both sides of __eq__ 2012-08-24 18:21:43 +02:00
David Halter 3a95cce7ae InstanceElement should always be the same, cache them 2012-08-24 18:01:39 +02:00
David Halter c0324b1d68 fixed a recursion problem with InstanceElements 2012-08-24 16:10:29 +02:00
David Halter d4e87103b9 refactored testing interface 2012-08-24 12:28:37 +02:00
David Halter 727267d501 removed a bug that caused certain builtin returns not to work 2012-08-23 15:05:48 +02:00
David Halter 4b784263ae removed duplicate fast_parent_copy method, now its used for Calls and Scopes 2012-08-23 14:53:21 +02:00
David Halter e28d7f0cdf cleaning / pep8 2012-08-23 14:45:29 +02:00
David Halter 793797ca5c completion wasn't working properly on the first line, thx to @gwrtheyrn for testing 2012-08-23 14:45:18 +02:00
David Halter 2c66af7868 fixed possibility of StopIteration Exception to happen with wrong written ternary operators 2012-08-23 02:26:42 +02:00
David Halter 09e9a85382 fixed set-completion related bug 2012-08-23 02:17:48 +02:00
David Halter cfba8216c9 completions on jedi now don't run into almost endless loop anymore 2012-08-23 02:05:45 +02:00
David Halter ddc7c73c46 temporary jedi tests (they do not work as they should) 2012-08-22 17:29:05 +02:00
David Halter b844fa201a catched recursions in a special array case 2012-08-22 15:14:36 +02:00
David Halter d85184d387 possible to return dynamic arrays 2012-08-22 11:44:45 +02:00
David Halter 9c09de6245 added a descriptor, to ignore unbound methods in Python 2 2012-08-22 01:11:54 +02:00
David Halter 528b978ca5 property recursion tests 2012-08-21 12:19:18 +02:00
David Halter f52fea984d parsing.Array/parsing.Call have a start_pos attribute now 2012-08-21 11:59:21 +02:00
David Halter 1b310e9f90 introduced settings 2012-08-17 13:36:50 +02:00
David Halter 848b6e03eb dicts are now returned correctly, just without content 2012-08-16 17:11:27 +02:00
David Halter 6db12b5973 better understanding of how dicts are filled 2012-08-16 16:23:03 +02:00
David Halter 10c2281244 dynamic arrays work now also in functions 2012-08-14 19:25:55 +02:00
David Halter 692b85cfb2 list.extend / set.update works now 2012-08-14 15:00:31 +02:00
David Halter 76e6b1f37c dynamic params works now on all internal classes 2012-08-14 14:43:47 +02:00
David Halter 61ca2c74b4 reeneabled more complex builtin array tests 2012-08-14 13:07:21 +02:00
David Halter 79d30f1b24 addition to fix another docstr problem 2012-08-14 12:55:25 +02:00
David Halter e2fb6c7d9a vim shows now docstrings also correct 2012-08-13 22:39:43 +02:00
David Halter 6467f4f420 docstrings are working again and have a correct output 2012-08-13 21:26:24 +02:00
David Halter 37b5f2cb93 found the memory-critical pieces. also removed old debug code 2012-08-13 16:46:34 +02:00
David Halter e6f6003476 parents of Call/Array are now also weakrefs 2012-08-13 12:17:35 +02:00
David Halter bc6cf350c2 weakrefs also for parent_stmt 2012-08-13 11:38:54 +02:00
David Halter 8e20c754b1 tests working all again, with weakref parents 2012-08-13 01:23:29 +02:00
David Halter 673cb30ee8 probably half of the tests are running again. 2012-08-12 02:09:10 +02:00
David Halter 3ae7d3f278 use weakrefs for parents now: rest 2012-08-12 01:42:37 +02:00
David Halter a2611c5db6 use weakrefs for parents now: evaluate.py 2012-08-12 01:32:53 +02:00
David Halter ed07e91d88 use weakrefs for parents now: functions.py 2012-08-12 01:23:57 +02:00
David Halter 1571931088 python 2.5 compatibility (future import) 2012-08-11 00:16:55 +02:00
David Halter f95245a3a0 changes so that python3 will run with the builtins, because in py3k range = old xrange 2012-08-11 00:06:12 +02:00
David Halter e41c4c6cc3 implemented xrange 2012-08-11 00:02:04 +02:00