- 28 May, 2020 1 commit
-
-
Thanassis Tsiodras authored
-
- 05 Apr, 2018 15 commits
-
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Jeff Epler authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
This function does not call any other functions and so is safe to use when the C stack is exhausted.
-
- 04 Apr, 2018 20 commits
-
-
Damien George authored
These cycles were found by static analysis.
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
Most tests come from the upstream test suite. Only the spacebel_tickets are not in upstream.
-
Damien George authored
-
Damien George authored
-
Damien George authored
The LHS passed to mp_obj_int_binary_op() will always be an integer, either a small int or a big int, so the test for this type doesn't need to include an "other, unsupported type" case.
-
Damien George authored
-
Damien George authored
The string "Q+?" is special in that it hashes to zero with the djb2 algorithm (among other strings), and a zero hash should be incremented to a hash of 1.
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
Without the compiler enabled the mp_optimise_value is unused, and the micropython.opt_level() function is not useful, so exclude these from the build to save RAM and code size.
-
Damien George authored
-
Damien George authored
-
Damien George authored
So that these tests test the runtime behaviour, not the compiler (which may be executed offline).
-
Damien George authored
-
- 03 Apr, 2018 4 commits
-
-
Damien George authored
-
Damien George authored
The case of a return statement in the try suite of a try-except statement was previously only tested by builtin_compile.py, and only then in the part of this test which checked for the existence of the compile builtin. So this patch adds an explicit unit test for this case.
-
Damien George authored
-
Damien George authored
When pystack is enabled mp_obj_fun_bc_prepare_codestate() will always return a valid pointer, and if there is no more pystack available then it will raise an exception (a RuntimeError). So having pystack enabled with stackless enabled automatically gives strict stackless mode. There is therefore no need to have code for strict stackless mode when pystack is enabled, and this patch optimises the VM for such a case.
-