151 Commits (513e6567b15adf2354f0b05f486d66ee0cbe2c94)

Author SHA1 Message Date
Paul Sokolovsky 513e6567b1 Add testcase for sequence unpacking. 11 years ago
Damien George cbddb279bb py: Implement break/continue from an exception with finally. 11 years ago
Paul Sokolovsky 90750029df Implement default function arguments (for Python functions). 11 years ago
Paul Sokolovsky 6472dea146 Add exception stack unwind support for RETURN_VALUE. 11 years ago
Paul Sokolovsky c9887cbbe2 Add basic try-finally testcase. 11 years ago
Paul Sokolovsky 027594e1a7 Typo fixes in comments. 11 years ago
Paul Sokolovsky c92a56dc93 Add testcase with exception handler spread across functions. 11 years ago
xbe 480c15afb5 Implement str.replace and add tests for it. 11 years ago
xbe 65365778fd Add tests for str.strip 11 years ago
Paul Sokolovsky 382e8eeea2 vm: Add basic implementation of END_FINALLY opcode. 11 years ago
Damien George 09a0c64bce py: Improve __bool__ and __len__ dispatch; add slots for them. 11 years ago
Paul Sokolovsky c1d9bbc345 Implement __bool__ and __len__ via unary_op virtual method for all types. 11 years ago
Damien George 4a74d31e70 run-tests can handle segfault. 11 years ago
Damien George b40892d266 Rename array test to array1 so it doesn't clash with array module. 11 years ago
Markus Siemens 19ccc6bdc7 Added Windows port (see #233) 11 years ago
Paul Sokolovsky 1801421f6d bytearray: Print objects properly. 11 years ago
Paul Sokolovsky 8e991e0680 Add basic array.array test. 11 years ago
Damien George 4e8dc8c41b py: Add unary op not for NoneType, bool, tuple, list, dict; fix for int. 11 years ago
Paul Sokolovsky 9b00dad7bb long int: Implement more operations. 11 years ago
Paul Sokolovsky 14d28be344 gen.send(): Throw StopIteration. Also, explicitly shutdown finished gen. 11 years ago
Paul Sokolovsky bf38e2a03a Implement send() method for generators. 11 years ago
Damien George 7c9c667633 py: Implement iterator support for object that has __getitem__. 11 years ago
Paul Sokolovsky 91fb1c9b13 Add basic implementation of bytes type, piggybacking on str. 11 years ago
Paul Sokolovsky c3e72a8cc8 mp_obj_is_callable(): Only object types can be callable. 11 years ago
Paul Sokolovsky 1eacefe5bc Implement simplest case of str.startswith(). 11 years ago
Paul Sokolovsky 0b7184dcb8 Implement octal and hex escapes in strings. 11 years ago
Damien George 600ae734cf py: Implement break and continue byte codes, and add tests. 11 years ago
Paul Sokolovsky d30e019459 Add bytearray basic tests. 11 years ago
Paul Sokolovsky 7280f79088 run-tests: Allow to run tests selectively via command line. 11 years ago
Paul Sokolovsky 4c316552c1 Implement str.split(None). 11 years ago
Paul Sokolovsky 7380a83780 str: Implement proper string (instead of byte string) indexing. 11 years ago
Paul Sokolovsky 545591a696 Implement string multiplication. 11 years ago
Paul Sokolovsky decd597273 unix io.FileIO: Add iteration support. 11 years ago
Damien George 7d08935458 Rename unix binary to 'micropython'. 11 years ago
Paul Sokolovsky fe2690da0a unix: Implement sys.argv. 11 years ago
Paul Sokolovsky db796ef84d Add README for tests/. 11 years ago
Paul Sokolovsky 9954b4b99d Add directory for I/O tests with basic test for file methods. 11 years ago
Paul Sokolovsky 8c3858b016 Move tests in basic/tests/ up one level preparating to multiple test dirs. 11 years ago
Damien George ebde0b8a09 Tiny optimisation in objlist.c; a new test for inheritance. 11 years ago
Damien George f49ba1bd9c Improve method lookup in mp_obj_class_lookup. 11 years ago
Paul Sokolovsky b31b5e0b5c Add testcase for subclassing builtin type and calling native method (broken). 11 years ago
Damien George 1d6fc94c16 Implement framework for class-defined built-in operators. 11 years ago
Paul Sokolovsky 10744dd816 Add empty (false) value testing for strings, tuples, lists, dicts. 11 years ago
Paul Sokolovsky f2b796e7c7 str.format: Don't assume that '}' immediately follows '{', skip insides. 11 years ago
Damien George d02c6d8962 Implement eval. 11 years ago
Damien George e2fb2baaa4 Implement repr. 11 years ago
xyb 3e4ed25138 add more tests and remove debug code 11 years ago
xyb 3270fb4be6 int() test passed 11 years ago
John R. Lenton fca456bc3c added filter() 11 years ago
John R. Lenton 39b174e00a Added map 11 years ago