- 09 Apr, 2015 3 commits
-
-
stijn authored
Fixes msvc linker warnings about mismatching sizes between the mp_obj_fdfile_t struct defined in file.c and the mp_uint_t declarations found in modsys.c and modbuiltins.c
-
stijn authored
Also prevents some of the weaker syntax parsers out there treating the whole '*/*const*/' part as a comment
-
Damien George authored
-
- 07 Apr, 2015 3 commits
-
-
Damien George authored
This patch gets full function argument passing working with native emitter. Includes named args, keyword args, default args, var args and var keyword args. Fully Python compliant. It reuses the bytecode mp_setup_code_state function to do all the hard work. This function is slightly adjusted to accommodate native calls, and the native emitter is forced a bit to emit similar prelude and code-info as bytecode.
-
Daniel Campora authored
-
Daniel Campora authored
-
- 06 Apr, 2015 4 commits
-
-
Damien George authored
-
Damien George authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
- 05 Apr, 2015 3 commits
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
- 04 Apr, 2015 10 commits
-
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Daniel Campora authored
-
Damien George authored
Without this patch deleting a property, or class with descriptor, will call the setter with a NULL value and lead to a crash.
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
- 03 Apr, 2015 14 commits
-
-
Paul Sokolovsky authored
Warnings lead to programming errors - as expected.
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
splitlines() occurs ~179 times in CPython3 standard library, so was deemed worthy to implement. The method has subtle semantic differences from just .split("\n"). It is also defined as working for any end-of-line combination, but this is currently not implemented - it works only with LF line-endings (which should be OK for text strings on any platforms, but not OK for bytes).
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
Currently supports only x64 and Thumb2 archs.
-
Damien George authored
This implementation is smaller (in code size) than #1024.
-
Damien George authored
-
Damien George authored
Reference MCU is dsPIC33J256GP506 with 256k ROM and 8k RAM, on the dsPIC DSC Starter Kit board. The REPL works, GC works, pyb module has LED and Switch objects. It passes some tests from the test suite (most it can't run because it doesn't have the Python features enabled).
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
- 02 Apr, 2015 3 commits
-
-
Damien George authored
Also rename call_args_t to mp_call_args_t.
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
I.e. in this mode, C stack will never be used to call a Python function, but if there's no free heap for a call, it will be reported as RuntimeError (as expected), not MemoryError.
-