126 Commits (fe16e785fe76ca2c84b82512c427c7fa57176abe)

Author SHA1 Message Date
Emil Renner Berthing 6d3aa16443 py/objexcept: Compare mp_emergency_exception_buf_size signed. 5 years ago
Damien George 2725a79192 py: Always give noop defines when MICROPY_ROM_TEXT_COMPRESSION disabled. 5 years ago
Damien George e292296d52 py/objexcept: Remove optional TimeoutError exception. 5 years ago
Jim Mussared 85858e72df py/objexcept: Allow compression of exception message text. 5 years ago
Damien George 69661f3343 all: Reformat C and Python source code with tools/codeformat.py. 5 years ago
Damien George 3f39d18c2b all: Add *FORMAT-OFF* in various places. 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
Damien George e2c1226da4 py/objexcept: Optimise mp_obj_new_exception[_arg1/_args] functions. 5 years ago
Damien George b23bd6433c py: Clean up commented-out code and comments about exception hierarchy. 5 years ago
Josh Lloyd 7d58a197cf py: Rename MP_QSTR_NULL to MP_QSTRnull to avoid intern collisions. 5 years ago
Damien George 973c87d8fa py/objgenerator: Move defn of mp_const_GeneratorExit_obj here. 5 years ago
Paul Sokolovsky 016d9a40fe various: Add and update my copyright line based on git history. 6 years ago
Tom Collins 2d644ac455 py/objexcept: Fix hash of exc str created in mp_obj_new_exception_msg. 6 years ago
Damien George eee1e8841a py: Downcase all MP_OBJ_IS_xxx macros to make a more consistent C API. 6 years ago
Damien George 55830dd9bf py/objexcept: Make sure mp_obj_new_exception_msg doesn't copy/format msg 6 years ago
Damien George bad4e15da5 py/objexcept: Use macros to make offsets in emergency exc buf clearer. 6 years ago
Damien George 5edce4539b py/objexcept: Make MP_DEFINE_EXCEPTION public so ports can define excs. 7 years ago
Damien George 73d1d20b46 py/objexcept: Remove long-obsolete mp_const_MemoryError_obj. 7 years ago
Damien George d32d22dfd7 py/objtype: Implement better support for overriding native's __init__. 7 years ago
Damien George 9c02707356 py/objexcept: Use INT_FMT when printing errno value. 7 years ago
Damien George a3dc1b1957 all: Remove inclusion of internal py header files. 7 years ago
Damien George 96fd80db13 py/objexcept: Prevent infinite recursion when allocating exceptions. 7 years ago
Alexander Steffen 55f33240f3 all: Use the name MicroPython consistently in comments 7 years ago
Damien George 816413e4b2 py: Optimise types for common case where type has a single parent type. 8 years ago
Damien George ee86de1f1a py: Make sure that static emg-exc-buffer is aligned to size of mp_obj_t. 8 years ago
Damien George fa5a591757 py/objexcept: Convert mp_uint_t to size_t where appropriate. 8 years ago
Damien George 5bea080737 py/objexcept: Replace if-cond and assert(0) with simple assert. 8 years ago
Paul Sokolovsky c3d96d387c py/objexcept: Allow clearing traceback with 'exc.__traceback__ = None'. 8 years ago
Damien George 9a92499641 py/objexcept: Don't convert errno to str in constructor, do it in print. 9 years ago
Damien George d45e5f8c35 py: Add mp_errno_to_str() and use it to provide nicer OSError msgs. 9 years ago
pohmelie 81ebba7e02 py: add async/await/async for/async with syntax 9 years ago
Damien George 5b3f0b7f39 py: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*. 9 years ago
Damien George 4b72b3a133 py: Change type signature of builtin funs that take variable or kw args. 9 years ago
Damien George a0c97814df py: Change type of .make_new and .call args: mp_uint_t becomes size_t. 9 years ago
Damien George 3d2daa2d03 py: Change exception traceback data to use size_t instead of mp_uint_t. 9 years ago
Damien George 999cedb90f py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR. 9 years ago
Damien George cbf7674025 py: Add MP_ROM_* macros and mp_rom_* types and use them. 9 years ago
Damien George ade9a05236 py: Improve allocation policy of qstr data. 10 years ago
Daniel Campora 077812b2ab py: Add TimeoutError exception subclassed from OSError. 9 years ago
Damien George c8b60f013b py: Make viper codegen raise proper exception (ViperTypeError) on error. 10 years ago
Damien George 044c473de2 py: Add %q format support to mp_[v]printf, and use it. 10 years ago
Damien George 7f9d1d6ab9 py: Overhaul and simplify printf/pfenv mechanism. 10 years ago
Damien George b1bbe966c4 py: Combine load_attr and store_attr type methods into one (attr). 10 years ago
Damien George 4d77e1a034 py: Use m_{new,renew,del} consistently. 10 years ago
Damien George 4852e09c79 py: Fix adding of traceback so that it appends to existing info. 10 years ago
Paul Sokolovsky 71ebd4b7f0 py: Implement UnicodeError. 10 years ago
Paul Sokolovsky fa3b895145 objexcept: Optimize traceback allocation for exception. 10 years ago
Paul Sokolovsky 29c4f92e13 objexcept: Optimize using messages without formatting substitutions. 10 years ago
Damien George 0b9ee86133 py: Add mp_obj_new_str_from_vstr, and use it where relevant. 10 years ago