- 17 Aug, 2017 1 commit
-
-
Damien George authored
The value of 0 can't be used because otherwise mp_binary_get_size will let a null byte through as the type code (intepreted as byterray). This can lead to invalid type-specifier strings being let through without an error in the struct module, and even buffer overruns.
-
- 16 Aug, 2017 4 commits
-
-
stijn authored
This makes the -d commandline argument usable again. Pass empty string as parent name as listing starts from the root.
-
Paul Sokolovsky authored
As required for zephyr.stack_analyze().
-
Paul Sokolovsky authored
current_tid() returns current thread ID. stacks_analyze() calls k_call_stacks_analyze() which, with CONFIG_INIT_STACKS enabled, will print stack usage for some well-known threads in the system.
-
Eric Poulsen authored
Behaviour is as per CPython but only the binary form is implemented here. A test is included.
-
- 15 Aug, 2017 2 commits
-
-
Stefan Naumann authored
It enables all the DEBUG_printf outputs in the py/ source code.
-
Bas van Sisseren authored
Without bugfix: struct.pack('>Q', 16) b'\x00\x00\x00\x10\x00\x00\x00\x00' With bugfix: struct.pack('>Q', 16) b'\x00\x00\x00\x00\x00\x00\x00\x10'
-
- 14 Aug, 2017 1 commit
-
-
Javier Candeira authored
-
- 13 Aug, 2017 1 commit
-
-
Javier Candeira authored
- Changed: ValueError, TypeError, NotImplementedError - OSError invocations unchanged, because the corresponding utility function takes ints, not strings like the long form invocation. - OverflowError, IndexError and RuntimeError etc. not changed for now until we decide whether to add new utility functions.
-
- 12 Aug, 2017 1 commit
-
-
Damien George authored
-
- 11 Aug, 2017 3 commits
-
-
Paul Sokolovsky authored
Implemented as a new MP_UNARY_OP. This patch adds support lists, dicts and instances.
-
Damien George authored
$(TOP) is defined in py/mkenv.mk and should be used to refer to the top level of this repository.
-
Damien George authored
-
- 09 Aug, 2017 5 commits
-
-
Paul Sokolovsky authored
-
Damien George authored
The main case to catch is invalid types for the containment operator, of the form str.__contains__(non-str).
-
Damien George authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
- 08 Aug, 2017 1 commit
-
-
Paul Sokolovsky authored
-
- 07 Aug, 2017 2 commits
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
Accesses recv_q, accept_q directly in net_context.
-
- 06 Aug, 2017 1 commit
-
-
Paul Sokolovsky authored
This works for Unix and similar ports so far.
-
- 02 Aug, 2017 2 commits
-
-
Paul Sokolovsky authored
For some reason, with the latest Zephyr master, running just "make" led to executing Zephyr's "qemu" target.
-
Damien George authored
"STATIC inline" can expand to "inline" if STATIC is defined to nothing, and this case can lead to link errors.
-
- 31 Jul, 2017 4 commits
-
-
Paul Sokolovsky authored
Allows to join multicast groups.
-
Alexander Steffen authored
There were several different spellings of MicroPython present in comments, when there should be only one.
-
Damien George authored
-
Damien George authored
-
- 30 Jul, 2017 3 commits
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
WiFi mode selection happens on the level of individual interfaces.
-
Paul Sokolovsky authored
-
- 29 Jul, 2017 2 commits
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
- 28 Jul, 2017 2 commits
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
Next version, 0.4.0 appears to depend on newer version of urllib3 and conflicts with version installed in Travis.
-
- 27 Jul, 2017 1 commit
-
-
Paul Sokolovsky authored
Afterwards, they can be access using pkg_resource module from micropython-lib.
-
- 26 Jul, 2017 2 commits
-
-
Damien George authored
-
Eric Poulsen authored
-
- 25 Jul, 2017 2 commits
-
-
Damien George authored
Thanks to @kamikaze, aka Oleg Korsak, for the original idea and patch.
-
Damien George authored
Also, use mp_stream_close() helper to close the underlying socket.
-