3153 Commits (b4f814c9b75939a33caa769e87b8d1e9c82227f3)

Author SHA1 Message Date
Damien George 5edce4539b py/objexcept: Make MP_DEFINE_EXCEPTION public so ports can define excs. 7 years ago
Damien George f6a1f18603 py/makeqstrdefs.py: Optimise by using compiled re's so it runs faster. 7 years ago
Damien George e0bc438e4b py/obj.h: Move declaration of mp_obj_list_init to objlist.h. 7 years ago
Damien George 9f811e9096 py/obj.h: Clean up by removing commented-out inline versions of macros. 7 years ago
Damien George d4b55eff44 py/misc.h: Remove unused count_lead_ones() inline function. 7 years ago
Damien George 9884a2c712 py/objint: Remove unreachable code checking for int type in format func. 7 years ago
Damien George 955ee6477f py/formatfloat: Fix case where floats could render with negative digits. 7 years ago
Damien George 7b050fa76c py/formatfloat: Fix case where floats could render with a ":" character. 7 years ago
Damien George bc12eca461 py/formatfloat: Fix rounding of %f format with edge-case FP values. 7 years ago
Damien George a9f6d49218 py/vm: Simplify handling of special-case STOP_ITERATION in yield from. 7 years ago
Damien George 22ade2f5c4 py/vm: Fix case of handling raised StopIteration within yield from. 7 years ago
Damien George 9d8347a9aa py/mpstate.h: Add repl_line state for MICROPY_REPL_EVENT_DRIVEN. 7 years ago
Damien George f75c7ad1a9 py/mpz: In mpz_clone, remove unused check for NULL dig. 7 years ago
Damien George c0bcf00ed1 py/asm*.c: Remove unnecessary check for num_locals<0 in asm entry func. 7 years ago
Damien George 7dfa56e40e py/compile: Adjust c_assign_atom_expr() to use return instead of goto. 7 years ago
Damien George 638b860066 extmod/vfs_fat: Merge remaining vfs_fat_misc.c code into vfs_fat.c. 7 years ago
Damien George 6af4515969 py: Use "GEN" consistently for describing files generated in the build. 7 years ago
Damien George 65ef59a9b5 py/py.mk: Remove .. path component from list of extmod files. 7 years ago
Damien George 8ca469cae2 py/py.mk: Split list of uPy sources into core and extmod files. 7 years ago
Damien George 6e675c1baa py/objdeque: Use m_new0 when allocating items to avoid need to clear. 7 years ago
Damien George 160d670868 py/objdeque: Protect against negative maxlen in deque constructor. 7 years ago
Damien George 6c3faf6c17 py/objdeque: Allow to compile without warnings by disabling deque_clear. 7 years ago
Paul Sokolovsky 970eedce8f py/objdeque: Implement ucollections.deque type with fixed size. 7 years ago
Damien George fe3e17b026 py/objint: Use MP_OBJ_IS_STR_OR_BYTES macro instead of 2 separate ones. 7 years ago
Damien George 8769049e93 py/objstr: Remove unnecessary check for positive splits variable. 7 years ago
Damien George 7e2a48858c py/modmicropython: Allow to have stack_use() func without mem_info(). 7 years ago
Damien George 209936880d py/builtinimport: Add compile-time option to disable external imports. 7 years ago
Damien George 6e7819ee2e py/objmodule: Factor common code for calling __init__ on builtin module. 7 years ago
Damien George 4e469085c1 py/objstr: Protect against creating bytes(n) with n negative. 7 years ago
Damien George 165aab12a3 py/repl: Generalise REPL autocomplete to use qstr probing. 7 years ago
Damien George 98647e83c7 py/modbuiltins: Simplify and generalise dir() by probing qstrs. 7 years ago
Damien George a8775aaeb0 py/qstr: Add QSTR_TOTAL() macro to get number of qstrs. 7 years ago
Damien George 2a0cbc0d38 py/gc: Update comment now that gc_drain_stack is called gc_mark_subtree. 7 years ago
Ayke van Laethem 736faef223 py/gc: Make GC stack pointer a local variable. 7 years ago
Ayke van Laethem 5c9e5618e0 py/gc: Rename gc_drain_stack to gc_mark_subtree and pass it first block. 7 years ago
Ayke van Laethem ea7cf2b738 py/gc: Reduce code size by specialising VERIFY_MARK_AND_PUSH macro. 7 years ago
Mike Wadsten a3e01d3642 py/objdict: Disallow possible modifications to fixed dicts. 7 years ago
Damien George 7b2a9b059a py/pystack: Use "pystack exhausted" as error msg for out of pystack mem. 7 years ago
Ayke van Laethem 5591bd237a py/nlrthumb: Do not mark nlr_push as not returning anything. 7 years ago
Damien George 73d1d20b46 py/objexcept: Remove long-obsolete mp_const_MemoryError_obj. 7 years ago
Damien George d77da83d55 py/objrange: Implement (in)equality comparison between range objects. 7 years ago
Damien George 5604b710c2 py/emitglue: When assigning bytecode only pass bytecode len if needed. 7 years ago
Damien George e98ff40604 py/modbuiltins: Simplify casts from char to byte ptr in builtin ord. 7 years ago
Damien George 19aee9438a py/unicode: Clean up utf8 funcs and provide non-utf8 inline versions. 7 years ago
Damien George bbb08431f3 py/objfloat: Fix case of raising 0 to -infinity. 7 years ago
Damien George b75cb8392b py/parsenum: Fix parsing of floats that are close to subnormal. 7 years ago
Damien George 0c650d4276 py/vm: Simplify stack sentinel values for unwind return and jump. 7 years ago
Damien George 771dfb0826 py/modbuiltins: For builtin_chr, use uint8_t instead of char for array. 7 years ago
Damien George b45c8c17f0 py/objtype: Check and prevent delete/store on a fixed locals map. 7 years ago
Damien George 253f2bd7be py/compile: Combine compiler-opt of 2 and 3 tuple-to-tuple assignment. 7 years ago