Commit Graph

838 Commits

Author SHA1 Message Date
Dave Halter
b22c9c96f2 string additions also work now - be prepared #24! 2014-03-09 12:36:17 +01:00
Dave Halter
70e1970f40 plus on numbers is now basically working 2014-03-09 12:27:03 +01:00
Dave Halter
3b372e2fe2 add some operator tests for precedences (array indexing) 2014-03-09 12:00:28 +01:00
Dave Halter
60ff2bc088 fix an invalid statement that has changed because of changes to the parser. 2014-03-09 11:56:29 +01:00
Dave Halter
1f7e4ca637 dict literals are now working (at least the parser) 2014-03-05 18:46:43 +01:00
Dave Halter
7222d70ecb restructure token breaks in statement parser 2014-03-05 14:39:21 +01:00
Dave Halter
7d7a86239c tests for list comprehensions with included dict literals 2014-03-05 14:23:53 +01:00
Dave Halter
a69eee5876 error tokens only exist in the end in a tokenizer 2014-02-21 00:09:49 +01:00
Dave Halter
cd1660dc53 first succeeding precedence tests 2014-01-31 11:12:28 +01:00
Dave Halter
62a74a6d2f tests for understanding operations 2014-01-30 11:27:03 +01:00
Dave Halter
18f225200a test for dynamic params/usages case 2014-01-26 23:13:46 +01:00
Dave Halter
e587b876b6 tests and improvements for __next__ and send generator methods 2014-01-23 20:02:36 +01:00
Dave Halter
6f2c1397b0 autocompletion diggs now pretty deep for generator objects 2014-01-23 14:39:00 +01:00
Dave Halter
c6b315aa2e failing test for fucked up generator parents 2014-01-23 14:26:04 +01:00
Dave Halter
090536d03c fix by disabling test - usages are tainted crap anyway :) 2014-01-06 23:41:40 +01:00
Dave Halter
40bd118acb fix sys path tests 2013-12-27 01:30:22 +01:00
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
33711ba966 fix problems with literals, finally 2013-09-06 00:40:08 +04:30
David Halter
9c6dae1df8 temporarily disable old tests to refactor set_vars 2013-09-01 23:54:15 +04:30
David Halter
2ee7ee4473 regression test for #205 2013-08-31 19:59:39 +04:30
David Halter
230bf724a2 empty asserts should not lead to broken parsers 2013-08-17 23:04:01 +04:30
David Halter
a8e259763e fix problem with variables in from clauses, #268 2013-08-17 22:04:55 +04:30
David Halter
2612963f58 fix many position problems 2013-08-17 00:34:20 +04:30
David Halter
e63783f122 test for empty decorators 2013-08-16 11:02:22 +04:30
David Halter
4b0465a2d1 REPL completion deletes the line sometimes, fixes #293 2013-08-16 10:00:52 +04:30
David Halter
fbcecaf1ef deprecate 'source_path' as a Script parameter in favour of 'path' 2013-08-15 19:25:19 +04:30
David Halter
4a6f421b80 test for goto in loops that use e.g. empty arrays as input, #283 2013-08-15 11:33:32 +04:30
David Halter
e0b781987a fix two failed tests due to previous changes 2013-08-14 00:59:33 +04:30
David Halter
51428fa38e first functioning for loop tests, see #283 2013-08-13 22:36:54 +04:30
David Halter
a895561f1a fixed a problem that combined __getattr__ and usages 2013-08-13 15:39:26 +04:30
David Halter
2359ccbeb1 rename completion/renaming.py to usages.py 2013-08-13 15:13:18 +04:30
David Halter
faf7e0c422 fix a problem found by sith with dynamic params (includes tests) 2013-08-12 02:23:44 +04:30
David Halter
0fef34c26e finding out that fake imports arent't allowed in python and os.path is a sys.modules modification, fix tests #213 2013-08-11 17:30:50 +04:30
David Halter
9d1e527b7c merge issue-213-from-import-definition of @tkf into dev 2013-08-11 01:20:45 +04:30
David Halter
6421c95df1 tests for init decorator problem, see #247 2013-08-10 22:53:26 +04:30
David Halter
97edfb13f7 some method decorator tests were wrong (incomplete) 2013-08-10 22:26:24 +04:30
David Halter
085bddd6a1 change Execution usage to always use the decorator function 2013-08-10 21:40:36 +04:30
David Halter
c35da04820 illegal decorators tests 2013-08-09 18:12:51 +04:30
David Halter
22b11e0706 ignore decorators if cannot be found (also get rid of DecoratorNotFound exception), fixes #272 2013-08-09 13:01:21 +04:30
David Halter
a5fa0708ee tests for #272, not existing method decorators in combination with super on __init__ 2013-08-09 12:36:53 +04:30
David Halter
59f0b523bd move descriptors out of classes into their own file 2013-08-09 11:38:30 +04:30
David Halter
7548ec7280 fix problems with class method decorators 2013-08-09 11:32:44 +04:30