- 31 Jan, 2014 8 commits
-
-
Damien George authored
-
Damien George authored
-
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 10 commits
-
-
Damien George authored
-
Damien George authored
-
Damien George authored
On my machine, 'import array' in CPython tries to load the array test.
-
Damien George authored
-
Damien George authored
unix: Initial FFI module implementation
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
Foreign Function Interface module allows to load native dynamic libraries, call functions and access variables in them. This makes possible to write interface modules in pure Python. This module provides thin wrapper around libffi. ctypes compatibility might be possible to implement on top of this module (though ctypes allow to call functions without prototypes, which is not supported by libffi (i.e. implementation would be inefficient))).
-
Paul Sokolovsky authored
This is special feature for FFI.
-
Markus Siemens authored
Fixed '#ifdef's so Linux would compile again and added .scl and .type for Windows.
-
Markus Siemens authored
-