- 31 Jan, 2014 15 commits
-
-
Damien George authored
vm: Introduce structure for exception stack entry, record entry type.
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Markus Siemens authored
rt_call_function_n_kw did check for integers but not for strings being called. Added a check so running "a"() won't SIGSEV but throw an exception.
-
Paul Sokolovsky authored
It's mildly suprising these work without further changes to exception handling code (the only change required was to handle SETUP_FINALLY).
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
Also, handle SETUP_FINALLY opcode.
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
xbe authored
-
xbe authored
-
Damien George authored
-
- 30 Jan, 2014 9 commits
-
-
Damien George authored
vm: Add basic implementation of END_FINALLY opcode.
-
Damien George authored
windows: Make windows/main.c independent from unix/main.c
-
Damien George authored
-
Markus Siemens authored
Up to know changes unix/main.c were able to break the windows build because windows/main.c simply included unix/main.c. Now windows/main.c stands on it's own and won't break if unix/main.c changes.
-
Paul Sokolovsky authored
Allows to have nested try blocks with except filters. TODO: Don't add END_FINALLY's exception re-raise points to traceback.
-
Damien George authored
-
Damien George authored
Implement __bool__ and __len__ via unary_op virtual method for all types.
-
Paul Sokolovsky authored
__bool__() and __len__() are just the same as __neg__() or __invert__(), and require efficient dispatching implementation (not requiring search/lookup). type->unary_op() is just the right choice for this short of adding standalone virtual method(s) to already big mp_obj_type_t structure.
-
Paul Sokolovsky authored
To alloc complete memory alloc flow tracing.
-
- 29 Jan, 2014 13 commits
-
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
We still have FAST_[0,1,2] byte codes, but they now just access the fastn array (before they had special local variables). It's now simpler, a bit faster, and uses a bit less stack space (on STM at least, which is most important). The only reason now to keep FAST_[0,1,2] byte codes is for compressed byte code size.
-
Damien George authored
-
Damien George authored
-
Damien George authored
LOAD_METHOD bug was: emitbc did not correctly calculate the amount of stack usage for a LOAD_METHOD operation. small int bug was: int was being used to pass small ints, when it should have been machine_int_t.
-
Damien George authored
-
Damien George authored
-
mux authored
* Add SD card test to fix warning
-
mux authored
* Remove include mpconfigport.h from file.c
-
mux authored
* Issue #232
-
- 28 Jan, 2014 3 commits
-
-
Damien George authored
-
Damien George authored
-
Damien George authored
On my machine, 'import array' in CPython tries to load the array test.
-