aboutsummaryrefslogtreecommitdiff
path: root/py/runtime.c
AgeCommit message (Expand)Author
2022-05-18py: Make builtin modules use MP_REGISTER_MODULE.Jim Mussared
2022-05-03all: Use mp_obj_malloc everywhere it's applicable.Jim Mussared
2022-04-14py/scheduler: Add support for scheduling static C-based callbacks.Damien George
2022-04-01py/runtime: Remove unnecessary check for kw_value == MP_OBJ_NULL.Damien George
2022-04-01py: Fix compiling and decoding of *args at large arg positions.Damien George
2022-03-31py/runtime: Use size_t/ssize_t instead of uint/int.David Lechner
2022-03-31py/runtime: Drop new_alloc < 4 check.David Lechner
2022-03-31py/runtime: Do not overallocate when len is known.David Lechner
2022-03-31py/runtime: Allow multiple *args in a function call.David Lechner
2022-03-31py/runtime: Allow multiple **args in a function call.David Lechner
2022-03-10py/modsys: Add optional mutable attributes sys.ps1/ps2 and use them.Damien George
2022-03-10py/modsys: Add optional sys.tracebacklimit attribute.Damien George
2021-12-29ports: Move '.frozen' to second entry in sys.path.Damien George
2021-12-18py/runtime: Allow initialising sys.path/argv with defaults.Damien George
2021-11-22py/runtime: Allow types to use both .attr and .locals_dict.Laurens Valk
2021-10-21py/runtime: Fix crash when exc __new__ doesn't return an exc instance.Mike Wadsten
2021-10-15py: Add wrapper macros so hot VM functions can go in fast code location.Damien George
2021-09-16py/vm: Add a fast path for LOAD_ATTR on instance types.Jim Mussared
2021-07-23py/runtime: Fix bool unary op for subclasses of native types.Jim Mussared
2021-07-15py: Introduce and use mp_raise_type_arg helper.Damien George
2021-07-15py: Support single argument to optimised MP_OBJ_STOP_ITERATION.Damien George
2021-07-15py/vm: Simplify handling of MP_OBJ_STOP_ITERATION in yield-from opcode.Damien George
2021-06-24all: Fix signed shifts and NULL access errors from -fsanitize=undefined.Jeff Epler
2021-06-19py/mpstate: Make exceptions thread-local.David Lechner
2021-04-30py/runtime: Remove commented-out code from mp_deinit().Damien George
2021-04-27py: Add option to compile without any error messages at all.Damien George
2021-04-12py/runtime: Make sys.modules preallocate to a configurable size.matejcik
2021-02-04py: Rename BITS_PER_BYTE to MP_BITS_PER_BYTE.Damien George
2021-02-04py: Remove BITS_PER_WORD definition.Damien George
2020-08-22py/runtime: Fix builtin compile() in "single" mode so it prints exprs.Damien George
2020-08-02py/persistentcode: Maintain root ptr list of imported native .mpy code.Damien George
2020-06-30py: Rework mp_convert_member_lookup to properly handle built-ins.Damien George
2020-04-23all: Format code to add space after C++-style comment start.stijn
2020-04-18all: Fix implicit floating point to integer conversions.stijn
2020-04-13all: Clean up error strings to use lowercase and change cannot to can't.Damien George
2020-04-05all: Use MP_ERROR_TEXT for all error messages.Jim Mussared
2020-04-05py/objexcept: Allow compression of exception message text.Jim Mussared
2020-04-05py: Use preprocessor to detect error reporting level (terse/detailed).Jim Mussared
2020-02-28all: Reformat C and Python source code with tools/codeformat.py.Damien George
2020-02-28py: Un-nest configuration #if/#endif's for selection of complex code.Damien George
2020-02-28py: Removing dangling "else" to improve code format consistency.Damien George
2020-02-18py/objexcept: Rename mp_obj_new_exception_msg_varg2 to ..._vlist.Damien George
2020-02-13py: Add mp_raise_msg_varg helper and use it where appropriate.Damien George
2020-01-30py: Support non-boolean results for equality and inequality tests.Nicko van Someren
2020-01-12py/runtime: Move MICROPY_PORT_INIT_FUNC near the end of mp_init().David Lechner
2020-01-09py: Make mp_obj_get_type() return a const ptr to mp_obj_type_t.Damien George
2019-12-27py/runtime: Don't allocate iter buf for user-defined types.Damien George
2019-12-21py/objobject: Add object.__setattr__ function.Yonatan Goldschmidt
2019-10-29py/runtime: Reorder some binary ops so they don't require conditionals.Damien George
2019-10-04py/runtime: Fix PEP479 behaviour throwing StopIteration into yield from.Damien George