- 21 Jan, 2014 1 commit
-
-
Damien George authored
Can now have null bytes in strings. Can define ROM qstrs per port using qstrdefsport.h
-
- 20 Jan, 2014 5 commits
-
-
Damien George authored
-
Damien George authored
Expose memory stats functions via "micropython" module.
-
Paul Sokolovsky authored
These are micropython.mem_total(), .mem_current(), .mem_peak(). These are 3 individual functions with simple scalar return value to make sure that calls to these functions themselves have minimal (hopefully zero) impact on memory allocation.
-
Damien George authored
-
Damien George authored
-
- 19 Jan, 2014 21 commits
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Damien George authored
Implement modules as singletons Python semantics.
-
Paul Sokolovsky authored
In Python, importing module several times returns same underlying module object. This also fixes import statement handling for builtin modules. There're still issues: 1. CPython exposes set of loaded modules as sys.modules, we may want to do that either. 2. Builtin modules are implicitly imported, which is not really correct. We should separate registering a (builtin) module and importing a module. CPython keeps builtin module names in sys.builtin_module_names .
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Damien George authored
CMSIS V3.01 -> V3.20. Now in stm/cmsis to keep separate from ST libraries.
-
Paul Sokolovsky authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
Exceptions know source file, line and block name. Also tidy up some debug printing functions and provide a global flag to enable/disable them.
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Damien George authored
-
Damien George authored
-
- 18 Jan, 2014 13 commits
-
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Paul Sokolovsky authored
-
Damien George authored
Add lean ("raw") socket module.
-
Damien George authored
Add skeleton implementation of array.array and bytearray.
-
Damien George authored
Byte code has a map from byte-code offset to source-code line number, used to give better error messages.
-
Paul Sokolovsky authored
-
Damien George authored
-
Damien George authored
Now searches both locals_dict and methods. Partly addresses Issue #145.
-
Paul Sokolovsky authored
So far, only storage, initialization, repr() and buffer protocol is implemented - alredy suitable for passing binary data around.
-
Paul Sokolovsky authored
-
Damien George authored
Now working for class-defined methods: __getitem__, __setitem__, __add__, __sub__. Easy to add others.
-