- 06 Jul, 2015 4 commits
-
-
Damien George authored
-
Damien George authored
Drops Thumb2 arch size by 24 bytes.
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
- 05 Jul, 2015 1 commit
-
-
Paul Sokolovsky authored
-
- 04 Jul, 2015 6 commits
-
-
Daniel Campora authored
-
Daniel Campora authored
-
Daniel Campora authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Galen Hazelwood authored
-
- 03 Jul, 2015 1 commit
-
-
Paul Sokolovsky authored
-
- 02 Jul, 2015 10 commits
-
-
Daniel Campora authored
-
Damien George authored
-
Daniel Campora authored
-
Daniel Campora authored
Stream methods were added to normal sockets as in the unix port.
-
Daniel Campora authored
-
Daniel Campora authored
WLAN needs time info when validating certificates.
-
Daniel Campora authored
-
Daniel Campora authored
-
Daniel Campora authored
-
Daniel Campora authored
The TimeoutError is useful for some modules, specially the the socket module. TimeoutError can then be alised to socket.timeout and then Python code can differentiate between socket.error and socket.timeout.
-
- 30 Jun, 2015 2 commits
-
-
Daniel Campora authored
-
Daniel Campora authored
-
- 29 Jun, 2015 1 commit
-
-
Daniel Campora authored
-
- 28 Jun, 2015 4 commits
-
-
Paul Sokolovsky authored
When "micropython -m pkg.mod" command was used, relative imports in pkg.mod didn't work, because pkg.mod.__name__ was set to __main__, and the fact that it's a package submodule was missed. This is an original workaround to this issue. TODO: investigate and compare how CPython deals with this issue.
-
Daniel Campora authored
-
Daniel Campora authored
-
Daniel Campora authored
-
- 27 Jun, 2015 3 commits
-
-
Damien George authored
When enabled this allows the internal storage to be split over 2 contiguous regions of flash (two segments), and so the storage can be increased. This option is disabled by default, giving original behaviour.
-
Damien George authored
-
Damien George authored
-
- 26 Jun, 2015 5 commits
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
CPython raises SystemError in this case, but we don't have that enabled, so raise ImportError.
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
Doesn't allocate memory and returns original string if no replacements are to be made.
-
Damien George authored
-
- 25 Jun, 2015 3 commits
-
-
Damien George authored
Previous to this patch each time a bytes object was referenced a new instance (with the same data) was created. With this patch a single bytes object is created in the compiler and is loaded directly at execute time as a true constant (similar to loading bignum and float objects). This saves on allocating RAM and means that bytes objects can now be used when the memory manager is locked (eg in interrupts). The MP_BC_LOAD_CONST_BYTES bytecode was removed as part of this. Generated bytecode is slightly larger due to storing a pointer to the bytes object instead of the qstr identifier. Code size is reduced by about 60 bytes on Thumb2 architectures.
-
Damien George authored
-
Paul Sokolovsky authored
Recognize and handle "package not found" error.
-