| Commit message (Collapse) | Author | Age |
|
|
|
|
| |
Implementation is duplicated, but tolerate this for now, because there's
no clear idea how to de-dup it.
|
| |
|
|\
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
py/objstr.c
py/py.mk
py/stream.c
unix/main.c
unix/socket.c
|
| | |
|
| |
| |
| |
| |
| | |
A file cannot be iterated concurrently, so we make io.FileIO its own
iterator.
|
|/
|
|
|
| |
Can now have null bytes in strings. Can define ROM qstrs per port using
qstrdefsport.h
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Change state layout in VM so the stack starts at state[0] and grows
upwards. Locals are at the top end of the state and number downwards.
This cleans up a lot of the interface connecting the VM to C: now all
functions that take an array of Micro Python objects are in order (ie no
longer in reverse).
Also clean up C API with keyword arguments (call_n and call_n_kw
replaced with single call method that takes keyword arguments). And now
make_new takes keyword arguments.
emitnative.c has not yet been changed to comply with the new order of
stack layout.
|
|\
| |
| |
| |
| | |
Conflicts:
tests/basics/tests/exception1.py
|
| | |
|
|/ |
|
| |
|
|
|
|
| |
Addresses issue #104.
|
|
Note: only read/write/close methods are defined so far, and class
is not exposed (use open() factory function, as usual).
|