3271 Commits (2964b41c282917bfb3f6e3a1d6e3fd7a078abed6)

Author SHA1 Message Date
Damien George eb88803ac8 py/{modbuiltins,repl}: Start qstr probing from after empty qstr. 7 years ago
Damien George 3cf02be4e0 py/emitnx86: Fix 32-bit x86 native emitter build by including header. 7 years ago
Damien George 60db80920a py/builtinhelp: Change occurrence of mp_uint_t to size_t. 7 years ago
Damien George 6b4b6d388b py/obj.h: Fix math.e constant for nan-boxing builds. 7 years ago
Ayke van Laethem d43c737756 py/stream: Use uPy errno instead of system's for non-blocking check. 7 years ago
Damien George 96740be357 py/mperrno: Define MP_EWOULDBLOCK as EWOULDBLOCK, not EAGAIN. 7 years ago
Ayke van Laethem deaa46aa66 py/nlrthumb: Fix Clang support wrt use of "return 0". 7 years ago
Damien George ef12a4bd05 py: Refactor how native emitter code is compiled with a file per arch. 7 years ago
Jeff Epler cbf981f330 py/objgenerator: Check stack before resuming a generator. 7 years ago
Damien George cf31d384f1 py/stream: Switch stream close operation from method to ioctl. 7 years ago
Jeff Epler d6cf5c6749 py/objstr: In find/rfind, don't crash when end < start. 7 years ago
Damien George f1df86a017 py/objint: Simplify LHS arg type checking in int binary op functions. 7 years ago
Damien George 3f420c0c27 py: Don't include mp_optimise_value or opt_level() if compiler disabled. 7 years ago
Damien George 323b5f7270 py/modsys: Don't compile getsizeof function if feature is disabled. 7 years ago
Damien George bc36521386 py/vm: Optimise handling of stackless mode when pystack is enabled. 7 years ago
Damien George c7f880eda3 py/vm: Don't do unnecessary updates of ip and sp variables. 7 years ago
Damien George f50b64cab5 py/runtime: Be sure that non-intercepted thrown object is an exception. 7 years ago
Damien George 3280788195 py/runtime: Check that keys in dicts passed as ** args are strings. 7 years ago
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