Commit Graph

195 Commits

Author SHA1 Message Date
David Halter
37df118519 InstanceElement cleanup, not all tests pass, though 2012-09-04 08:54:13 +02:00
David Halter
a5d1427b09 method was needed 2012-09-03 17:40:34 +02:00
David Halter
663d808f9f removed complexity of builtin scope 2012-09-03 16:20:20 +02:00
David Halter
911495da30 relative imports should work now 2012-09-02 16:27:41 +02:00
David Halter
1f21fadf55 class decorators are just being ignored, until I know of a use case, where Jedi returns the wrong results 2012-09-02 14:48:27 +02:00
David Halter
1afdb69314 function annotations are now safely ignored by the evaluation. the parser just stores them in the right objects. 2012-09-02 12:39:11 +02:00
David Halter
01059b35db use metaclass generator for all classes (python2/3 compatibility) 2012-09-01 11:36:33 +02:00
David Halter
a1d3ab9094 python 3 compatibility: new method 'use_metaclass' 2012-09-01 10:29:17 +02:00
David Halter
adbb2d18c4 Readme improved 2012-08-31 16:15:57 +02:00
David Halter
40d2c412a5 instance variables are now working again, however, it's still a little bit strange 2012-08-31 01:23:12 +02:00
David Halter
74950ab502 evaluate module docstr 2012-08-31 00:40:23 +02:00
David Halter
83a5a4267f improved many docstrings 2012-08-30 15:07:11 +02:00
David Halter
e2a4e097f6 evaluate docstring, much better documentation 2012-08-30 12:54:33 +02:00
David Halter
dd0cc343f8 mainly settings documentation 2012-08-30 01:41:40 +02:00
David Halter
9c9f17a2b7 +=, |=, etc. operators have better support now 2012-08-30 00:29:04 +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
e7dd205c34 nested list comprehensions are working + tests 2012-08-27 23:30:07 +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
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
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
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
2c66af7868 fixed possibility of StopIteration Exception to happen with wrong written ternary operators 2012-08-23 02:26:42 +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
d85184d387 possible to return dynamic arrays 2012-08-22 11:44:45 +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
848b6e03eb dicts are now returned correctly, just without content 2012-08-16 17:11:27 +02:00
David Halter
10c2281244 dynamic arrays work now also in functions 2012-08-14 19:25:55 +02:00
David Halter
76e6b1f37c dynamic params works now on all internal classes 2012-08-14 14:43:47 +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
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
76eb3e53e7 fixed recursion problem with properties. However, this does not fix the problem, that things that are used like properties (closures with different inputs) still are not properly executed, due to recursion detection. 2012-08-10 23:29:26 +02:00
David Halter
1843293624 removed some for loop handling stuff, because it was redundant with iterator handling 2012-08-10 23:13:33 +02:00
David Halter
7fc13bde48 added a method which returns all the stuff in an iterator 2012-08-10 18:23:01 +02:00
David Halter
e0ebc0e3ac started better dynamic support for list/set conversions including appends after conversions 2012-08-10 16:39:56 +02:00
David Halter
ae60bce836 dynamic arrays are now working pretty good 2012-08-09 16:03:28 +02:00
David Halter
c6f76a15ff dynamic array additions are working with list.append 2012-08-09 14:21:51 +02:00
David Halter
e4b911b943 range() works now 2012-08-08 16:07:06 +02:00
David Halter
024cc78b2c implemented __next__ method 2012-08-08 15:56:59 +02:00
David Halter
a0fad34503 generalized param array creation 2012-08-07 10:41:15 +02:00
David Halter
f935d4ff53 implemented __iter__ 2012-08-06 23:21:42 +02:00
David Halter
9072bd6f52 added a base class to have easier isinstance comparisons 2012-08-06 22:25:58 +02:00
David Halter
bef8fca57d list() builtin is working better now 2012-08-06 21:26:05 +02:00