Commit Graph

136 Commits

Author SHA1 Message Date
David Halter
6b8285bbec fixed many get_in_function_call related bugs 2012-09-16 23:10:39 +02:00
David Halter
60e8f57c32 fixed some bugs related to func param display 2012-09-15 17:33:18 +02:00
David Halter
9b7d82a251 showing function params working now on both sides, but not joined 2012-09-15 03:57:22 +02:00
David Halter
fd37ae53f2 parsing refactorings, because the errors were not catched the right way 2012-09-14 21:00:57 +02:00
David Halter
9a2ec13230 sys path modifications 2012-09-14 03:05:31 +02:00
David Halter
eb30530c06 removed unused code 2012-09-13 15:26:25 +02:00
David Halter
6f0cbf18db again all sort of import related stuff, relative imports work now! fixes #2 2012-09-13 15:03:10 +02:00
David Halter
77839b0a7d if tokenize died, the wrong tokenizer was created again 2012-09-13 02:29:17 +02:00
David Halter
119455c3b3 cleaned up and fixed most cases of import related stuff, fixes #2 2012-09-12 21:36:16 +02:00
David Halter
da3c327af7 get_related_names testing 2012-09-10 00:52:01 +02:00
David Halter
8cdc5cc9bd renaming first steps 2012-09-09 15:01:48 +02:00
David Halter
b16c4c5b83 python SystemError got fixed -> http://hg.python.org/cpython/rev/0db75a55145a & http://bugs.python.org/issue15846 2012-09-08 23:16:42 +02:00
David Halter
18686c1d63 is_py3k() -> is_py3k 2012-09-06 02:38:57 +02:00
David Halter
ca0b903891 user_scopes are now valid even in multi-line class/def initializations 2012-09-05 23:38:33 +02:00
David Halter
51ee262706 ducktyping tests 2012-09-04 15:37:37 +02:00
David Halter
3cc5c60f02 tried to clean up the mess of Instances and InstanceElements 2012-09-04 14:53:32 +02:00
David Halter
fc788bc7bf changed get_parent_until method 2012-09-04 09:43:59 +02:00
David Halter
37df118519 InstanceElement cleanup, not all tests pass, though 2012-09-04 08:54:13 +02:00
David Halter
911495da30 relative imports should work now 2012-09-02 16:27:41 +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
3e4a5dd111 add cleandoc to _compatibility.py because in python 2.5 it is not in the inspect module. 2012-09-01 11:37:37 +02:00
David Halter
94f2d5e263 prevent SystemError from happening through literal_eval 2012-09-01 09:44:35 +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
39ce26eb1e completion works now also in docstrings 2012-08-31 00:27:05 +02:00
David Halter
d21044dca2 parsing.py documentation and todos 2012-08-30 14:12:07 +02:00
David Halter
73f341866c added recursion decorator / fast_parent_copy fix 2012-08-29 22:53:51 +02:00
David Halter
49ec21a404 invalid list comprehensions should not raise exceptions anymore 2012-08-28 00:37:50 +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
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
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
f52fea984d parsing.Array/parsing.Call have a start_pos attribute now 2012-08-21 11:59:21 +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
76e6b1f37c dynamic params works now on all internal classes 2012-08-14 14:43:47 +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
3ae7d3f278 use weakrefs for parents now: rest 2012-08-12 01:42:37 +02:00
David Halter
ed07e91d88 use weakrefs for parents now: functions.py 2012-08-12 01:23:57 +02:00
David Halter
2d6ba4e8ec pep8 compatibility 2012-08-10 23:31:56 +02:00
David Halter
c6f76a15ff dynamic array additions are working with list.append 2012-08-09 14:21:51 +02:00
David Halter
9072bd6f52 added a base class to have easier isinstance comparisons 2012-08-06 22:25:58 +02:00