454 Commits (eea6cd85b37351ceda1b4c80a804912605977997)

Author SHA1 Message Date
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
Damien George ad7213d3c3 py: Add mp_raise_msg_varg helper and use it where appropriate. 5 years ago
Nicko van Someren 3aab54bf43 py: Support non-boolean results for equality and inequality tests. 5 years ago
David Lechner 339d0816c5 py/runtime: Move MICROPY_PORT_INIT_FUNC near the end of mp_init(). 5 years ago
Damien George bfbd94401d py: Make mp_obj_get_type() return a const ptr to mp_obj_type_t. 5 years ago
Damien George aacd618939 py/runtime: Don't allocate iter buf for user-defined types. 5 years ago
Yonatan Goldschmidt 07ccb5588c py/objobject: Add object.__setattr__ function. 5 years ago
Damien George 323d47887f py/runtime: Reorder some binary ops so they don't require conditionals. 5 years ago
Damien George 809d89c794 py/runtime: Fix PEP479 behaviour throwing StopIteration into yield from. 5 years ago
Jim Mussared 16f8ceeaaa extmod/modbluetooth: Add low-level Python BLE API. 5 years ago
Milan Rossa 310b3d1b81 py: Integrate sys.settrace feature into the VM and runtime. 5 years ago
Damien George af20c2ead3 py: Add global default_emit_opt variable to make emit kind persistent. 5 years ago
Damien George bc9b656f35 py/runtime: Remove obsolete comment about mp_parse_compile_execute. 5 years ago
Milan Rossa cb3647004f py: Implement new sys.atexit feature. 5 years ago
Paul m. p. P 60f1063797 py/runtime: Allow to override builtins.__import__ with Python func. 5 years ago
Jun Wu 089c9b71d1 py: remove "if (0)" and "if (false)" branches. 6 years ago
Damien George 9ce25d7022 py/runtime: Fix mp_unpack_ex so seq can't be reclaimed by GC during use. 6 years ago
Damien George 1754c71f45 py/runtime: Optimise to not create temp float for int to power negative. 6 years ago
Andrew Leech 8977c7eb58 py/scheduler: Convert micropythyon.schedule() to a circular buffer. 6 years ago
Damien George 440462b18e py/runtime: Remove long-obsolete MICROPY_FSUSERMOUNT init code. 6 years ago
Damien George 054dd33eba py: Downcase MP_xxx_SLOT_IS_FILLED inline functions. 6 years ago
Damien George eee1e8841a py: Downcase all MP_OBJ_IS_xxx macros to make a more consistent C API. 6 years ago
Paul Sokolovsky 8fea833e3f py: Update my copyright info on some files. 6 years ago
Damien George fa50047bbc py/runtime: Unlock the GIL in mp_deinit function. 6 years ago
Paul Sokolovsky b1d08726ee py/obj: Add support for __int__ special method. 6 years ago
Paul Sokolovsky 5c18730f28 py/runtime: Fix qstr assumptions when handling "import *". 6 years ago