- 01 Oct, 2015 6 commits
-
-
Damien George authored
-
Damien George authored
-
Damien George authored
Python semantics are that rhs of shift must be non-negative, so there's no need to handle negative values in the underlying mpz implementation.
-
Damien George authored
-
Damien George authored
This patch adds more fine grained error message control for errors when parsing integers (now has terse, normal and detailed). When detailed is enabled, the error now escapes bytes when printing them so they can be more easily seen.
-
Paul Sokolovsky authored
-
- 30 Sep, 2015 1 commit
-
-
Paul Sokolovsky authored
-
- 29 Sep, 2015 1 commit
-
-
Paul Sokolovsky authored
-
- 28 Sep, 2015 4 commits
-
-
Paul Sokolovsky authored
To avoid local ref table overflow.
-
Tom Soulanille authored
-
Tom Soulanille authored
-
Paul Sokolovsky authored
-
- 27 Sep, 2015 15 commits
-
-
Daniel Campora authored
-
Daniel Campora authored
-
Daniel Campora authored
-
Daniel Campora authored
-
Daniel Campora authored
-
Daniel Campora authored
Those two are rarely used features and better to have the extra heap.
-
Daniel Campora authored
-
Daniel Campora authored
-
Daniel Campora authored
-
Daniel Campora authored
-
Daniel Campora authored
-
Daniel Campora authored
-
Daniel Campora authored
-
Daniel Campora authored
-
Daniel Campora authored
-
- 26 Sep, 2015 4 commits
-
-
Daniel Campora authored
-
Daniel Campora authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
- 24 Sep, 2015 2 commits
-
-
Paul Sokolovsky authored
-
Damien George authored
It's relatively small (between 44 and 56 bytes) and helps to reduce heap pressure and fragmentation during compilation.
-
- 23 Sep, 2015 7 commits
-
-
Damien George authored
-
Paul Sokolovsky authored
-
stijn authored
-
stijn authored
Adding a line-end makes the determination of skip_native fail as it compares the output against b'CRASH' while it is in fact b'CRASH\n'
-
Damien George authored
Saves a few bytes of code space and eliminates need for rot_two bytecode (hence saving RAM and execution time, by a tiny bit).
-
Delio Brignoli authored
-
Vicente Olivert Riera authored
This fixes errors like these ones: modffi.c: In function 'return_ffi_value': modffi.c:143:29: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] const char *s = (const char *)val; ^ modffi.c:162:20: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] return (mp_obj_t)val; ^ modffi.c: In function 'ffifunc_call': modffi.c:358:25: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast] values[i] = (ffi_arg)a; ^ modffi.c:373:25: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast] values[i] = (ffi_arg)s; ^ modffi.c:381:25: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast] values[i] = (ffi_arg)bufinfo.buf; ^ modffi.c:384:25: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast] values[i] = (ffi_arg)p->func; ^ These errors can be highlighted when building micropython from MIPS64 n32 because ffi_arg is 64-bit wide and the pointers on MIPS64 n32 are 32-bit wide, so it's trying to case an integer to a pointer (or vice-versa) of a different size. We should cast first the pointer (or the integer) to a pointer sized integer (intptr_t) to fix that problem. Signed-off-by:
Vicente Olivert Riera <Vincent.Riera@imgtec.com>
-