116 Commits (669d1d20ab8be16bc847d509a9397c2ad4f912fc)

Author SHA1 Message Date
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
Damien George 50149a5730 py: Use mp_arg_check_num in some _make_new functions. 10 years ago
Damien George b4b10fd350 py: Put all global state together in state structures. 10 years ago
Damien George 51dfcb4bb7 py: Move to guarded includes, everywhere in py/ core. 10 years ago
Damien George 109c1de015 py: Make gc.enable/disable just control auto-GC; alloc is still allowed. 10 years ago
Damien George 124df6f8d0 py: Add mp_pending_exception global variable, for VM soft interrupt. 10 years ago
Damien George e7a478204a py: Remove unused and unneeded SystemError exception. 10 years ago
Damien George 4859edb95b py: Fix dummy definition of BEGIN/END_ATOMIC_SECTION. 10 years ago
Damien George 8b03d944e2 py: Remove IOError since it's deprecated; use OSError instead. 10 years ago
Damien George 4bcd04bcad py: Tidy up exception matching; allow matching of tuple of exceptions. 10 years ago
Damien George d182b98a37 py: Change all uint to mp_uint_t in obj.h. 10 years ago