3153 Commits (b4f814c9b75939a33caa769e87b8d1e9c82227f3)

Author SHA1 Message Date
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
Paul Sokolovsky 9956fd0710 py/objtype: Fit qstrs for special methods in byte type. 7 years ago
Paul Sokolovsky f2baa9ec24 py/objtype: Use CPython compatible method name for sizeof. 7 years ago
Damien George 93ce125abe py/argcheck: Remove #if guard around terse error message helper func. 7 years ago
Damien George 37282f8fc1 extmod/uos_dupterm: Update uos.dupterm() and helper funcs to have index. 7 years ago
Damien George c59fc1419d py/emitnative: Simplify binary op emitter, no need to check inplace ops. 7 years ago
Damien George a3afa8cfc4 py/emitnative: Implement floor-division and modulo for viper emitter. 7 years ago
Damien George 69da74e538 py/modbuiltins: Use existing utf8_get_char helper in builtin ord func. 7 years ago
Damien George dc948e4d54 py/formatfloat: Use standard isinf, isnan funcs instead of custom ones. 7 years ago
Damien George 08a196697c py/formatfloat: Don't print the negative sign of a NaN value. 7 years ago
Damien George d8d4e4dfbe py/modmath: Convert log2 macro into a function. 7 years ago
Damien George 25e140652b py/modmath: Add full checks for math domain errors. 7 years ago
Damien George 933eab46fc py/bc: Update opcode_format_table to match the bytecode. 7 years ago
Damien George ff93fd4f50 py/persistentcode: Bump .mpy version number to version 3. 7 years ago
Damien George 36f7952f76 py/objtype: Clean up unary- and binary-op enum-to-qstr mapping tables. 7 years ago
Damien George 0864a6957f py: Clean up unary and binary enum list to keep groups together. 7 years ago
Damien George 23faf88cab py/mpprint: Only check for null string printing when NDEBUG not defined. 7 years ago