- 21 1月, 2014 5 次提交
-
-
由 Paul Sokolovsky 提交于
-
由 Paul Sokolovsky 提交于
A file cannot be iterated concurrently, so we make io.FileIO its own iterator.
-
由 Paul Sokolovsky 提交于
Uses stream_unbuffered_readline underline.
-
由 Paul Sokolovsky 提交于
Useful as getiter method for objects which are their own iterators, etc.
-
由 Paul Sokolovsky 提交于
-
- 20 1月, 2014 19 次提交
-
-
由 Damien George 提交于
-
由 Damien George 提交于
Expose memory stats functions via "micropython" module.
-
由 Paul Sokolovsky 提交于
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 提交于
-
由 Damien George 提交于
-
由 Paul Sokolovsky 提交于
-
由 Paul Sokolovsky 提交于
-
由 Paul Sokolovsky 提交于
-
由 Paul Sokolovsky 提交于
-
由 Damien George 提交于
Implement modules as singletons Python semantics.
-
由 Paul Sokolovsky 提交于
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 提交于
-
由 Damien George 提交于
-
由 Damien George 提交于
-
由 Paul Sokolovsky 提交于
-
由 Paul Sokolovsky 提交于
-
由 Damien George 提交于
CMSIS V3.01 -> V3.20. Now in stm/cmsis to keep separate from ST libraries.
-
由 Paul Sokolovsky 提交于
-
由 Damien George 提交于
-
- 19 1月, 2014 16 次提交
-
-
由 Damien George 提交于
-
由 Damien George 提交于
-
由 Damien George 提交于
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 提交于
-
由 Paul Sokolovsky 提交于
-
由 Damien George 提交于
-
由 Damien George 提交于
-
由 Damien George 提交于
-
由 Damien George 提交于
-
由 Damien George 提交于
-
由 Paul Sokolovsky 提交于
-
由 Damien George 提交于
Add lean ("raw") socket module.
-
由 Damien George 提交于
Add skeleton implementation of array.array and bytearray.
-
由 Damien George 提交于
Byte code has a map from byte-code offset to source-code line number, used to give better error messages.
-
由 Paul Sokolovsky 提交于
-
由 Damien George 提交于
-