Commit Graph

888 Commits

Author SHA1 Message Date
Dave Halter
4b319ad817 fix a docstr issue 2014-01-12 19:22:31 +01:00
Dave Halter
dfb494b9c4 finally able to delete the old builtin stuff 2014-01-12 18:22:33 +01:00
Dave Halter
c75cef0882 fix some python 3 compatibility things (which involves some real bugs, but py2 was passing) 2014-01-12 17:02:26 +01:00
Dave Halter
bd239446f5 fix call signatures 2014-01-12 02:42:00 +01:00
Dave Halter
0bff729294 lots of small bugfixes 2014-01-12 02:15:59 +01:00
Dave Halter
1765fadf73 fix problems with self attributes - from fake modules 2014-01-11 18:05:44 +01:00
Dave Halter
32e39ef4ca fixing parents in compiled 2014-01-11 00:26:53 +01:00
Dave Halter
01c03966a7 make first faked compiled modules work 2014-01-10 23:35:58 +01:00
Dave Halter
14c9ed88ca fixed the getattr/__getattr__ stuff 2014-01-10 15:14:55 +01:00
Dave Halter
f868668f0e trying to fix the getattr mess with compiled 2014-01-10 13:36:29 +01:00
Dave Halter
3017e72b86 first executions with compiled seem to be working 2014-01-09 00:53:50 +01:00
Dave Halter
d71fe3061b better environment for compiled executions 2014-01-08 02:20:41 +01:00
Dave Halter
70413768ef add a 'compiled' module, to finally solve #102 and #335 2014-01-07 18:45:02 +01:00
Dave Halter
6deac1dc41 api is now a separate package, to structure the whole thing better. 2014-01-07 15:33:24 +01:00
Dave Halter
090536d03c fix by disabling test - usages are tainted crap anyway :) 2014-01-06 23:41:40 +01:00
Dave Halter
5857b4dbc9 moved modules.py -> parser/user_context.py 2014-01-05 14:15:11 +01:00
Dave Halter
1b40414d90 skip the strange add additional_modules test for now 2014-01-05 01:53:51 +01:00
Dave Halter
4d7349411e probably finished the load_module method migration 2014-01-05 01:37:54 +01:00
Dave Halter
4af92b166a use expression_list instead of commands or call_list 2013-12-27 14:24:14 +01:00
Dave Halter
eb30c3e6cf follow_statement -> eval_statement 2013-12-27 11:55:35 +01:00
Dave Halter
d40030c14e disable a test for py26. 2013-12-27 02:40:52 +01:00
Dave Halter
08fba1e191 fix last remaining issues with tests 2013-12-27 02:28:01 +01:00
Dave Halter
40bd118acb fix sys path tests 2013-12-27 01:30:22 +01:00
Dave Halter
8f564a301f clean up caches clearing 2013-12-26 02:10:30 +01:00
Dave Halter
947e616da0 hand api classes the evaluator 2013-12-26 01:00:37 +01:00
David Halter
8d2b3a0f7c Executable.decorated should be protected 2013-12-23 22:52:17 +01:00
Jean-Louis Fuchs
d687fa4df6 * replaced docstr-string with TokenDocstring object 2013-12-13 01:22:56 +01:00
Jean-Louis Fuchs
53e4962711 * started create paralell get_code 2013-12-12 22:11:15 +01:00
Jean-Louis Fuchs
0e00aa103f * created basic test 2013-12-12 19:13:12 +01:00
Jean-Louis Fuchs
3204a39f6c * made Token readonly like a tuple by using @property
* end_pos calculation didn't respect multiline tokens
* replaced all index access to Token
* wrapped all code that injects token tuples with
  Token.from_tuple()
* repr of Token is still its tuple form!?
* PEP8 where I read or wrote code
2013-12-08 01:32:58 +01:00
Jean-Louis Fuchs
989e12e8a7 * Replaced token tuple with token class
* Fixed PEP8 where I read code
2013-12-05 23:34:20 +01:00
David Halter
099fe4eeb3 test a little bit more with the not in sys path packages 2013-10-11 23:41:38 +04:30
David Halter
f8f2194db3 imports that are not in sys.path - as a second option to those in sys.path 2013-10-11 23:18:29 +04:30
David Halter
b357c099bc test for imports that are not in the sys.path. 2013-10-07 21:43:23 +04:30
David Halter
92237b5598 test fix in python 3.2 2013-09-14 23:13:35 +04:30
David Halter
0025a8c61e added failing test for import problems in py33 2013-09-14 23:11:47 +04:30
David Halter
5ad12bc8aa fix mro usage and all the type stuff (see also my blog post about why dir is wrong). fixes #314, fixes #86 2013-09-13 22:47:00 +04:30
David Halter
39a5c8501b fixed file in python 2.7 with test, fixes #309 2013-09-06 16:00:12 +04:30
David Halter
9bbd73bf86 fix problems with set_vars that were no set_vars 2013-09-06 15:24:14 +04:30
David Halter
6f16aaaa19 corrected an old comment 2013-09-06 15:12:54 +04:30
David Halter
d216ab331a also add a test for class execution, which still fails due to another bug, that has been (almost) fixed lately, fixes #305 2013-09-06 15:09:12 +04:30
David Halter
fcc6c4d811 goto before assignments should still work, 305 2013-09-06 14:56:35 +04:30
David Halter
95bac43840 before assignment goto test, #305 2013-09-06 14:35:56 +04:30
David Halter
648095ad52 sorted builtin should now be working, fixes #312 2013-09-06 14:08:54 +04:30
David Halter
b18cafa8f8 test for #312, sorted/reversed builtins 2013-09-06 13:27:15 +04:30
David Halter
9eca33f55c final import renamings for the new parser package 2013-09-06 01:27:07 +04:30
David Halter
13f0c2b91f all the import changes 2013-09-06 01:19:19 +04:30
David Halter
33711ba966 fix problems with literals, finally 2013-09-06 00:40:08 +04:30
David Halter
78f3199b03 fix some tests, that have been broken by literals 2013-09-05 23:51:25 +04:30
David Halter
2b88640c3a statements should care for its own docstrings, not the parser 2013-09-02 23:12:10 +04:30