aboutsummaryrefslogtreecommitdiff
path: root/py/objexcept.c
AgeCommit message (Expand)Author
2022-03-10py/modsys: Add optional sys.tracebacklimit attribute.Damien George
2021-07-15py/objexcept: Make mp_obj_new_exception_arg1 inline.Damien George
2021-07-15py/objexcept: Make mp_obj_exception_get_value support subclassed excs.Damien George
2021-07-01py/objexcept: Pretty print OSError also when it has 2 arguments.David Lechner
2021-04-27py: Add option to compile without any error messages at all.Damien George
2021-04-23py/objexcept: Support errno attribute on OSError exceptions.Damien George
2020-10-22py/objexcept: Compare mp_emergency_exception_buf_size signed.Emil Renner Berthing
2020-04-14py: Always give noop defines when MICROPY_ROM_TEXT_COMPRESSION disabled.Damien George
2020-04-09py/objexcept: Remove optional TimeoutError exception.Damien George
2020-04-05py/objexcept: Allow compression of exception message text.Jim Mussared
2020-02-28all: Reformat C and Python source code with tools/codeformat.py.Damien George
2020-02-28all: Add *FORMAT-OFF* in various places.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-23py/objexcept: Optimise mp_obj_new_exception[_arg1/_args] functions.Damien George
2019-12-28py: Clean up commented-out code and comments about exception hierarchy.Damien George
2019-09-26py: Rename MP_QSTR_NULL to MP_QSTRnull to avoid intern collisions.Josh Lloyd
2019-08-22py/objgenerator: Move defn of mp_const_GeneratorExit_obj here.Damien George
2019-05-17various: Add and update my copyright line based on git history.Paul Sokolovsky
2019-03-04py/objexcept: Fix hash of exc str created in mp_obj_new_exception_msg.Tom Collins
2019-02-12py: Downcase all MP_OBJ_IS_xxx macros to make a more consistent C API.Damien George
2018-12-10py/objexcept: Make sure mp_obj_new_exception_msg doesn't copy/format msgDamien George
2018-12-10py/objexcept: Use macros to make offsets in emergency exc buf clearer.Damien George
2018-03-17py/objexcept: Make MP_DEFINE_EXCEPTION public so ports can define excs.Damien George
2018-02-15py/objexcept: Remove long-obsolete mp_const_MemoryError_obj.Damien George
2017-12-12py/objtype: Implement better support for overriding native's __init__.Damien George
2017-12-11py/objexcept: Use INT_FMT when printing errno value.Damien George
2017-10-04all: Remove inclusion of internal py header files.Damien George
2017-09-21py/objexcept: Prevent infinite recursion when allocating exceptions.Damien George
2017-07-31all: Use the name MicroPython consistently in commentsAlexander Steffen
2017-04-12py: Optimise types for common case where type has a single parent type.Damien George
2017-04-10py: Make sure that static emg-exc-buffer is aligned to size of mp_obj_t.Damien George
2017-02-16py/objexcept: Convert mp_uint_t to size_t where appropriate.Damien George
2017-01-17py/objexcept: Replace if-cond and assert(0) with simple assert.Damien George
2016-11-14py/objexcept: Allow clearing traceback with 'exc.__traceback__ = None'.Paul Sokolovsky
2016-05-12py/objexcept: Don't convert errno to str in constructor, do it in print.Damien George
2016-05-12py: Add mp_errno_to_str() and use it to provide nicer OSError msgs.Damien George
2016-04-13py: add async/await/async for/async with syntaxpohmelie
2016-01-11py: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*.Damien George
2016-01-11py: Change type signature of builtin funs that take variable or kw args.Damien George
2016-01-11py: Change type of .make_new and .call args: mp_uint_t becomes size_t.Damien George
2016-01-02py: Change exception traceback data to use size_t instead of mp_uint_t.Damien George
2015-11-29py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR.Damien George
2015-11-29py: Add MP_ROM_* macros and mp_rom_* types and use them.Damien George
2015-07-14py: Improve allocation policy of qstr data.Damien George
2015-07-02py: Add TimeoutError exception subclassed from OSError.Daniel Campora
2015-04-20py: Make viper codegen raise proper exception (ViperTypeError) on error.Damien George
2015-04-16py: Add %q format support to mp_[v]printf, and use it.Damien George
2015-04-16py: Overhaul and simplify printf/pfenv mechanism.Damien George
2015-04-11py: Combine load_attr and store_attr type methods into one (attr).Damien George