3219 Commits (8fb95d652066b38e0dbb4fa5433de49eb601bdfe)

Author SHA1 Message Date
Damien George 02d830c035 py: Introduce a Python stack for scoped allocation. 7 years ago
Damien George 5b8998da6d py/runtime: Move mp_exc_recursion_depth to runtime and rename to raise. 7 years ago
Paul Sokolovsky e7fc765880 unix/mpconfigport: Disable uio.resource_stream(). 7 years ago
Paul Sokolovsky d21d029d55 py/mkrules.mk: Add "clean-frozen" target to clean frozen script/modules dir. 7 years ago
Paul Sokolovsky a35d923cdf py/map: Allow to trace rehashing operations. 7 years ago
Paul Sokolovsky 2b00181592 py/objfun: Factor out macro for initializing codestate. 7 years ago
Paul Sokolovsky d72370def7 py/objfun, vm: Add comments on codestate allocation in stackless mode. 7 years ago
Paul Sokolovsky fca1d1aa62 py/objfun: Factor out macro for decoding codestate size. 7 years ago
Paul Sokolovsky dea3fb93c7 py/gc: In sweep debug output, print pointer as a pointer. 7 years ago
Paul Sokolovsky 5453d88d5d py/gc: Factor out a macro to trace GC mark operations. 7 years ago
Paul Sokolovsky 39dd89fe31 py/runtime: When tracing unary/binary ops, output op (method) name. 7 years ago
Paul Sokolovsky c0877cbb0d py/objint_longlong: Check for zero division/modulo. 7 years ago
Damien George 53e111800f py/asmbase: Revert removal of clearing of label offsets for native emit. 7 years ago
Damien George f935bce3c5 py/{emitbc,asmbase}: Only clear emit labels to -1 when in debug mode. 7 years ago
Paul Sokolovsky 9ef4be8b41 py/gc: Add CLEAR_ON_SWEEP option to debug mis-traced objects. 7 years ago
Paul Sokolovsky 9ebc037eee py/malloc: Allow to use debug logging if !MICROPY_MALLOC_USES_ALLOCATED_SIZE. 7 years ago
Paul Sokolovsky 88a8043a27 py/malloc: MICROPY_MEM_STATS requires MICROPY_MALLOC_USES_ALLOCATED_SIZE. 7 years ago
Paul Sokolovsky f5e097021c py/mpprint: Fix "%x" vs "%X" regression introduced in previous commit. 7 years ago
Paul Sokolovsky 5a10e63543 py/mpprint: Support "%lx" format on 64-bit systems. 7 years ago
Paul Sokolovsky 5f8ad284f8 py/mpprint: Make "%p" format work properly on 64-bit systems. 7 years ago
Damien George 58f00d7c0e py/modbuiltins: Use standard arg-parsing helper func for builtin print. 7 years ago
Paul Sokolovsky 62b96147e6 py: mp_call_function_*_protected(): Pass-thru return value if possible. 7 years ago
Paul Sokolovsky 75d3c046da py/misc.h: Add m_new_obj_var_with_finaliser(). 7 years ago
Damien George 64f11470be py/objgenerator: Remove unreachable code for STOP_ITERATION case. 7 years ago
Damien George 74fad3536b py/gc: In gc_realloc, convert pointer sanity checks to assertions. 7 years ago
Damien George 8e323b8fa8 py/qstr: Rewrite find_qstr to make manifest that it returns a valid ptr. 7 years ago
Damien George 3990a52c0f py: Annotate func defs with NORETURN when their corresp decls have it. 7 years ago
Damien George 2161d6b603 py/objdict: Reuse dict-view key iterator for standard dict iterator. 7 years ago
Damien George 84895f1a21 py/parsenum: Improve parsing of floating point numbers. 7 years ago
Damien George 5e34a113ea py/runtime: Add MP_BINARY_OP_CONTAINS as reverse of MP_BINARY_OP_IN. 7 years ago
Damien George 5b2f62aff3 py/opmethods: Include the correct header for binary op enums. 7 years ago
Damien George 9783ac282e py/runtime: Simplify handling of containment binary operator. 7 years ago
Damien George d5cf5f70fd py/modbuiltins: Slightly simplify code in builtin round(). 7 years ago
Damien George a07fc5b640 py/objfloat: Allow float() to parse anything with the buffer protocol. 7 years ago
Paul Sokolovsky 8667a5f053 py/objnamedtuple: Allow to reuse namedtuple basic functionality. 7 years ago
Damien George da154fdaf9 py: Add config option to disable multiple inheritance. 8 years ago
Damien George 8d956c26d1 py/objstr: When constructing str from bytes, check for existing qstr. 7 years ago
Damien George 1f1d5194d7 py/objstr: Make mp_obj_new_str_of_type check for existing interned qstr. 7 years ago
Damien George 4601759bf5 py/objstr: Remove "make_qstr_if_not_already" arg from mp_obj_new_str. 7 years ago
Christopher Arndt 1871a924c9 py/mkenv.mk: Use $(PYTHON) consistently when calling Python tools. 7 years ago
Damien George 564a95cb04 py/emitnative: Clean up asm macro names so they have dest as first arg. 7 years ago
stijn 79ed58f87b py/objnamedtuple: Add _asdict function if OrderedDict is supported 7 years ago
Paul Sokolovsky cada971113 py/objtype: mp_obj_new_type: Name base types related vars more clearly. 7 years ago
Paul Sokolovsky 1b146e9de9 py/mpconfig: Introduce reusable MP_HTOBE32(), etc. macros. 7 years ago
Damien George 487dbdb267 py/compile: Use alloca instead of qstr_build when compiling import name. 7 years ago
Damien George 02b4b23319 Revert "py/{mkenv.mk,mkrules.mk}: Append .exe for Windows executable files." 7 years ago
Eric Poulsen 74ec52d857 extmod/modussl: Add finaliser support for ussl objects. 7 years ago
Paul Sokolovsky 0e80f345f8 py/objtype: Introduce MICROPY_PY_ALL_INPLACE_SPECIAL_METHODS. 7 years ago
Paul Sokolovsky 9b9dbc5815 py/objtype: Define all special methods if requested. 7 years ago
Damien George f4059dcc0c all: Use NULL instead of "" when calling mp_raise exception helpers. 7 years ago