- 17 Oct, 2016 11 commits
-
-
Damien George authored
-
Damien George authored
It now works.
-
Damien George authored
Also adds "machine" to the list of modules that the parser can search for constants.
-
Damien George authored
-
Damien George authored
Setting the pyexec_system_exit variable to PYEXEC_FORCED_EXT allows SystemExit exceptions to terminate the pyexec functions.
-
Damien George authored
Saves the following number of bytes of code space: 176 for bare-arm, 352 for minimal, 272 for unix x86-64, 140 for stmhal, 120 for esp8266.
-
Damien George authored
-
Damien George authored
The failed key is available as exc.args[0], as per CPython.
-
Damien George authored
Iterables don't respond to __len__, so call __len__ on the original argument.
-
Damien George authored
-
Damien George authored
-
- 16 Oct, 2016 1 commit
-
-
Paul Sokolovsky authored
-
- 15 Oct, 2016 1 commit
-
-
Paul Sokolovsky authored
Accepts only value of True.
-
- 14 Oct, 2016 4 commits
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
This includes making sure that utime_mphal's sleep_ms() and sleep_us() don't sleep on negative arguments.
-
Paul Sokolovsky authored
As long as a port implement mp_hal_sleep_ms(), mp_hal_ticks_ms(), etc. functions, it can just use standard implementations of utime.sleel_ms(), utime.ticks_ms(), etc. Python-level functions.
-
Damien George authored
Now there is just one function to allocate a new vstr, namely vstr_new (in addition to vstr_init etc). The caller of this function should know what initial size to allocate for the buffer, or at least have some policy or config option, instead of leaving it to a default (as it was before).
-
- 13 Oct, 2016 9 commits
-
-
Damien George authored
-
Damien George authored
-
Damien George authored
And it gives problems with header dependencies for auto-qstr generation.
-
Damien George authored
The qemu-arm port is used for testing of ARM Thumb architecture on a desktop so should have many features enabled.
-
Damien George authored
-
Alex March authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
This refactors ujson.loads(s) to behave as ujson.load(StringIO(s)). Increase in code size is: 366 bytes for unix x86-64, 180 bytes for stmhal, 84 bytes for esp8266.
-
- 12 Oct, 2016 10 commits
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Daniel Thompson authored
The boot issue text mentions a help() function and encourages the user to run it. It is very disconcerting to find that the function does not exist... Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
Initial support for running on a baremetal, low-heap systems (like esp8266), using Python module interface.
-
Paul Sokolovsky authored
"Forced exit" is treated as soft-reboot (Ctrl+D). But expected effect of calling sys.exit() is termination of the current script, not any further and more serious actions like mentioned soft reboot.
-
Damien George authored
-
Damien George authored
-
Damien George authored
Setting emit_dent=0 is unnecessary because arriving in that part of the if-logic will guarantee that emit_dent is already zero. The block to check indent_top(lex)>0 is unreachable because a newline is always inserted an the end of the input stream, and hence dedents are always processed before EOF.
-
- 11 Oct, 2016 4 commits
-
-
Damien George authored
It was a relic from the days of developing the compiler and is no longer needed, and it's impossible to trigger via a test.
-
Radomir Dopieralski authored
-
Alex March authored
-
Alex March authored
-