479 Commits (e160fe7bc64212a3ce56f5478f208e2b4d343a8b)

Author SHA1 Message Date
Damien George cc588ac3a9 py/runtime: Add mp_raise_OSError_with_filename helper function. 2 years ago
Jim Mussared 94beeabd2e py/obj: Convert make_new into a mp_obj_type_t slot. 2 years ago
Jim Mussared 6da41b5900 py/obj: Merge getiter and iternext mp_obj_type_t slots. 2 years ago
Jim Mussared a52cd5b07d py/obj: Add accessors for type slots and use everywhere. 3 years ago
Jim Mussared 662b9761b3 all: Make all mp_obj_type_t defs use MP_DEFINE_CONST_OBJ_TYPE. 3 years ago
David Lechner 6baeded322 py/runtime: Fix crash in star arg unpacking. 2 years ago
Andrew Leech 1e87b56219 py/obj: Add support for __float__ and __complex__ functions. 2 years ago
Damien George efe23aca71 all: Remove third argument to MP_REGISTER_MODULE. 2 years ago
Jim Mussared d8d3e6ae78 py: Make builtin modules use MP_REGISTER_MODULE. 3 years ago
Jim Mussared 0e7bfc88c6 all: Use mp_obj_malloc everywhere it's applicable. 3 years ago
Damien George 75506e496f py/scheduler: Add support for scheduling static C-based callbacks. 3 years ago
Damien George 40f5c743db py/runtime: Remove unnecessary check for kw_value == MP_OBJ_NULL. 3 years ago
Damien George bd556b6996 py: Fix compiling and decoding of *args at large arg positions. 3 years ago
David Lechner 2e3f2045f9 py/runtime: Use size_t/ssize_t instead of uint/int. 3 years ago
David Lechner 9b74d71aa7 py/runtime: Drop new_alloc < 4 check. 3 years ago
David Lechner 3679a47eb0 py/runtime: Do not overallocate when len is known. 3 years ago
David Lechner 783b1a868f py/runtime: Allow multiple *args in a function call. 5 years ago
David Lechner 1e99d29f36 py/runtime: Allow multiple **args in a function call. 5 years ago
Damien George ac2293161e py/modsys: Add optional mutable attributes sys.ps1/ps2 and use them. 3 years ago
Damien George cac939ddc3 py/modsys: Add optional sys.tracebacklimit attribute. 3 years ago
Damien George aac5a97d08 ports: Move '.frozen' to second entry in sys.path. 3 years ago
Damien George de43b500bd py/runtime: Allow initialising sys.path/argv with defaults. 3 years ago
Laurens Valk e2ca8ab8fc py/runtime: Allow types to use both .attr and .locals_dict. 4 years ago
Mike Wadsten fe2bc92b4d py/runtime: Fix crash when exc __new__ doesn't return an exc instance. 5 years ago
Damien George 8412568e7b py: Add wrapper macros so hot VM functions can go in fast code location. 3 years ago
Jim Mussared 7b89ad8dbf py/vm: Add a fast path for LOAD_ATTR on instance types. 3 years ago
Jim Mussared 4e39ff221a py/runtime: Fix bool unary op for subclasses of native types. 5 years ago
Damien George 38a204ed96 py: Introduce and use mp_raise_type_arg helper. 3 years ago
Damien George bb00125aaa py: Support single argument to optimised MP_OBJ_STOP_ITERATION. 3 years ago
Damien George b8255dd2e0 py/vm: Simplify handling of MP_OBJ_STOP_ITERATION in yield-from opcode. 3 years ago
Jeff Epler 413f34cd8f all: Fix signed shifts and NULL access errors from -fsanitize=undefined. 3 years ago
David Lechner ca920f7218 py/mpstate: Make exceptions thread-local. 4 years ago
Damien George 6b7c8d3e72 py/runtime: Remove commented-out code from mp_deinit(). 4 years ago
Damien George d4b706c4d0 py: Add option to compile without any error messages at all. 4 years ago
matejcik 1a2ffda175 py/runtime: Make sys.modules preallocate to a configurable size. 4 years ago
Damien George 7e956fae28 py: Rename BITS_PER_BYTE to MP_BITS_PER_BYTE. 4 years ago
Damien George 8a41ee19c2 py: Remove BITS_PER_WORD definition. 4 years ago
Damien George 5f9b105244 py/runtime: Fix builtin compile() in "single" mode so it prints exprs. 4 years ago
Damien George 9883d8e818 py/persistentcode: Maintain root ptr list of imported native .mpy code. 4 years ago
Damien George 332d83343f py: Rework mp_convert_member_lookup to properly handle built-ins. 4 years ago
stijn 84fa3312cf all: Format code to add space after C++-style comment start. 5 years ago
stijn 70affd9ba2 all: Fix implicit floating point to integer conversions. 5 years ago
Damien George 8e048d2548 all: Clean up error strings to use lowercase and change cannot to can't. 5 years ago
Jim Mussared def76fe4d9 all: Use MP_ERROR_TEXT for all error messages. 5 years ago
Jim Mussared 85858e72df py/objexcept: Allow compression of exception message text. 5 years ago
Jim Mussared a9a745e4b4 py: Use preprocessor to detect error reporting level (terse/detailed). 5 years ago
Damien George 69661f3343 all: Reformat C and Python source code with tools/codeformat.py. 5 years ago
Damien George 17aeb43e18 py: Un-nest configuration #if/#endif's for selection of complex code. 5 years ago
Damien George a1b18b3ba7 py: Removing dangling "else" to improve code format consistency. 5 years ago
Damien George 1fccda049f py/objexcept: Rename mp_obj_new_exception_msg_varg2 to ..._vlist. 5 years ago