3040 Commits (505671b698490918fe0ea6c6dfdab8c0b25339be)

Author SHA1 Message Date
Damien George 025e5f2b33 py/binary: Change internal bytearray typecode from 0 to 1. 7 years ago
Stefan Naumann ace9fb5405 py: Add verbose debug compile-time flag MICROPY_DEBUG_VERBOSE. 7 years ago
Bas van Sisseren a14ce77b28 py/binary.c: Fix bug when packing big-endian 'Q' values. 7 years ago
Javier Candeira 35a1fea90b all: Raise exceptions via mp_raise_XXX 7 years ago
Paul Sokolovsky bfc2092dc5 py/modsys: Initial implementation of sys.getsizeof(). 7 years ago
Damien George 7d4a2f773c all: Make use of $(TOP) variable in Makefiles, instead of "..". 7 years ago
Damien George 3d25d9c7d9 py/objstr: Raise an exception for wrong type on RHS of str binary op. 7 years ago
Damien George eb2784e8a2 py/objtuple: Allow to use inplace-multiplication operator on tuples. 7 years ago
Paul Sokolovsky 4dc7c5649b py/mkrules.mk: Show frozen modules sizes together with executable size. 7 years ago
Damien George 0f12082f5b py,extmod,stmhal: Use "static inline" for funcs that should be inline. 7 years ago
Alexander Steffen 55f33240f3 all: Use the name MicroPython consistently in comments 7 years ago
Damien George b62bb53d0e py/modsys: Use MP_ROM_INT for int values in an mp_rom_map_elem_t. 7 years ago
Paul Sokolovsky 456450437f py/modio: BufferedWriter: Convert to mp_rom_map_elem_t. 7 years ago
Damien George 04552ff71b py: Implement raising a big-int to a negative power. 7 years ago
Damien George 4d1fb6107f py/mpz: Make mpz_is_zero() an inline function. 7 years ago
Damien George aa7be82a4d all: Don't include system errno.h when it's not needed. 7 years ago
Damien George a559098fec py/mperrno: Allow mperrno.h to be correctly included before other hdrs. 7 years ago
Damien George 1ed3356540 py/py.mk: Make berkeley-db C-defs apply only to relevant source files. 7 years ago
Tom Collins bb3bddabb5 py/builtinevex: Add typechecking of globals/locals args to eval/exec. 7 years ago
Damien George 761e4c7ff6 all: Remove trailing spaces, per coding conventions. 7 years ago
Damien George cadbd7f3e6 py/modmicropython: Cast stack_limit value so it prints correctly. 7 years ago
Damien George 3235b95f08 py/asmx64: Support moving a 64-bit immediate to one of top 8 registers. 7 years ago
Damien George 016325dd0a py/vm: Make n_state variable local to just set-up part of VM. 7 years ago
Alexander Steffen 299bc62586 all: Unify header guard usage. 7 years ago
Damien George 12d4fa9b37 py/gc: Refactor assertions in gc_free function. 7 years ago
Damien George 0291a624cb py/compile: Fix enum variable declaration. 7 years ago
Damien George f69ab79ec8 py/objgenerator: Allow to hash generators and generator instances. 7 years ago
Tom Collins 145796f037 py,extmod: Some casts and minor refactors to quiet compiler warnings. 7 years ago
Krzysztof Blazewicz 91a385db98 py/compile: Use switch-case to match token and operator. 8 years ago
Krzysztof Blazewicz a040fb89e7 py/compile: Combine arith and bit-shift ops into 1 compile routine. 8 years ago
Damien George e66fd56852 py/repl: Change mp_uint_t to size_t in repl helpers. 7 years ago
Damien George 7bd10c1ffe py: Change mp_uint_t to size_t in builtins code. 7 years ago
Damien George 8b84b8ab8a py/objdict: Factorise dict accessor helper to reduce code size. 7 years ago
Damien George b51919f5b7 py/makeversionhdr.py: Update to parse new release line in docs/conf.py. 7 years ago
Damien George 6b8b56f859 py/modmath: Check for zero division in log with 2 args. 7 years ago
Damien George 9ed5e80eea py/vm: Make "if" control flow more obvious in YIELD_FROM opcode. 7 years ago
Damien George 9d2c72ad4f py/objstr: Remove unnecessary "sign" variable in formatting code. 7 years ago
Damien George 2138258fea py/runtime: Mark m_malloc_fail() as NORETURN. 7 years ago
Damien George 9aeba3e41b py/binary: Add missing "break" statements. 7 years ago
Damien George 65417c5ad9 py/objstr: Move uPy function wrappers to just after the C function. 7 years ago
Damien George adf22c19ae py/mpprint: Remove unreachable check for neg return of mp_format_float. 7 years ago
Damien George 265500c5c8 py/objnamedtuple: Simplify and remove use of alloca building namedtuple. 7 years ago
Damien George 2f7fad66a2 py/builtinimport: Remove unreachable code for relative imports. 8 years ago
Alexander Steffen cd0987f5b7 py/frozenmod.h: Add missing header guards 7 years ago
Damien George c408ed9fb1 py/mpconfig.h: Remove spaces in "Micro Python" and remove blank line. 7 years ago
Damien George d94bc675e8 py/compile: Optimise emitter label indices to save a word of heap. 7 years ago
Damien George 4c5f108321 py/compile: Fix bug with break/continue in else of optimised for-range. 7 years ago
Damien George e269cabe3e py/objint: In to_bytes(), allow length arg to be any int and check sign. 8 years ago
Damien George 8c5632a869 py/objint: Support "big" byte-order in int.to_bytes(). 8 years ago
Damien George 48d867b4a6 all: Make more use of mp_raise_{msg,TypeError,ValueError} helpers. 8 years ago