Commit Graph

399 Commits

Author SHA1 Message Date
Dave Halter
b6dbbd2c5d tests for compiled super classes - #380 2014-03-11 12:42:40 +01:00
Dave Halter
cd7774f25f lambda can be used as a default param in function, which means there have been slight changes to the parser to allow that (comma in a function definitions doesn't always mean new param), fixes #379 2014-03-11 12:24:36 +01:00
Dave Halter
18a012509f tests for lambda params - #379 2014-03-11 12:03:19 +01:00
Dave Halter
937ab602ae add a lambda integration testing file 2014-03-11 11:59:17 +01:00
Dave Halter
5eef23046b clean up 2014-03-11 11:38:08 +01:00
Dave Halter
db1b73d423 lo and behold - reversed is implemented - the force is strong with this one. fixes #24 2014-03-11 11:04:00 +01:00
Dave Halter
6c5e91da69 some code - just written for @dbrgn 2014-03-10 23:08:09 +01:00
Dave Halter
af7814c6d4 enable assignment operators and add substraction support for numbers 2014-03-10 16:51:47 +01:00
Dave Halter
62a14f7558 restructure NameFinder.filter_name a little bit 2014-03-10 15:57:01 +01:00
Dave Halter
a073b902c1 assignment operators test 2014-03-09 13:15:30 +01:00
Dave Halter
7f0e31798a fix an old test case that was always wrong anyway 2014-03-09 12:40:38 +01:00
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