3226 Commits (ca2b1d6b36b11706b537eba90144469ba28561d2)

Author SHA1 Message Date
Damien George c78ef92d78 py/objtype: Refactor object's handling of __new__ to not create 2 objs. 7 years ago
Damien George d32d22dfd7 py/objtype: Implement better support for overriding native's __init__. 7 years ago
Damien George d3f82bc425 py/mpstate.h: Remove obsolete comment about nlr_top being coded in asm. 7 years ago
Damien George 2759bec858 py: Extend nan-boxing config to have 47-bit small integers. 7 years ago
Damien George 9c02707356 py/objexcept: Use INT_FMT when printing errno value. 7 years ago
Damien George 30fd8484eb py/runtime: Use the Python stack when building *arg and **kwarg state. 7 years ago
Damien George 1e5a33df41 py: Convert all uses of alloca() to use new scoped allocation API. 7 years ago
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