3153 Commits (b4f814c9b75939a33caa769e87b8d1e9c82227f3)

Author SHA1 Message Date
Damien George ae54fbf166 py/compile: Add COMP_RETURN_IF_EXPR option to enable return-if-else opt. 8 years ago
Damien George 40b40ffc98 py/compile: Extract parse-node kind at start of func for efficiency. 8 years ago
Damien George fa03bbf0fd py/compile: Don't do unnecessary check if parse node is a struct. 8 years ago
Damien George 4df013c8cc py/objtype: mp_obj_new_super doesn't need to be public, so inline it. 8 years ago
Paul Sokolovsky 9e8f316392 extmod/moductypes: Fix bigint handling for 32-bit ports. 8 years ago
Damien George 7a72c0db5a py: Reduce str/repr precision of float numbers when floats are 30-bit. 8 years ago
Damien George bbb4b9822f py/modmicropython: Add micropython.kbd_intr() function. 8 years ago
Damien George c7e8c6f7de py/gc: Execute finaliser code in a protected environment. 8 years ago
Damien George 08242eed26 py/nlrsetjmp: Add check for failed NLR jump. 8 years ago
Damien George a73501b1d6 py/objfloat: Add implementation of high-quality float hashing. 8 years ago
Damien George 816413e4b2 py: Optimise types for common case where type has a single parent type. 8 years ago
Damien George fc710169b7 py/obj: Clean up and add comments describing mp_obj_type_t struct. 8 years ago
Damien George e31fbd9b41 py/objint: Use unsigned arithmetic when formatting an integer. 8 years ago
Damien George f66df1efc8 py/objint: Extract small int value directly because type is known. 8 years ago
Damien George 79ce664952 py/runtime: When init'ing kbd intr exc, use tuple ptr instead of object. 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 81d2ca2b12 py/objtuple: Add support for inplace add (same as normal add). 8 years ago
Damien George de9b53695d py: Raise a ValueError if range() step is zero. 8 years ago
Damien George fc245d1ca4 py/objint: Consolidate mp_obj_new_int_from_float to one implementation. 8 years ago
Damien George 19f2e47d59 py: Add very simple but correct hashing for float and complex numbers. 8 years ago
Paul Sokolovsky 9a973977bb py/objstr: Use MICROPY_FULL_CHECKS for range checking when constructing bytes. 8 years ago
Damien George a5500a8aad py/obj.h: Make sequence grow more efficient and support overlapping. 8 years ago
Damien George 4c307bfba1 all: Move BYTES_PER_WORD definition from ports to py/mpconfig.h 8 years ago
Damien George b6c7e4b143 all: Use full path name when including mp-readline/timeutils/netutils. 8 years ago
Damien George 4b753515c7 py/objzip: Convert mp_uint_t to size_t. 8 years ago
Paul Sokolovsky 29dd92c82a zephyr/Makefile: Rework to use modern, official build integration. 8 years ago
Damien George 6b34107537 py: Change mp_uint_t to size_t for mp_obj_str_get_data len arg. 8 years ago
Damien George 6213ad7f46 py: Convert mp_uint_t to size_t for tuple/list accessors. 8 years ago
Damien George f9b0e644e5 py/compile: Provide terse error message for invalid dict/set literals. 8 years ago
Damien George 18c059febf py: Shorten a couple of error messages. 8 years ago
Damien George f55a059e7a py/compile: Simplify syntax-error messages for illegal assignments. 8 years ago
Damien George 5010d1958f py/lexer: Simplify and reduce code size for operator tokenising. 8 years ago
Damien George 94c41bb06f py: Use mp_raise_TypeError/mp_raise_ValueError helpers where possible. 8 years ago
Damien George 54507f78ee py/objmap: Convert mp_uint_t to size_t. 8 years ago
Damien George 40c1272e55 py/compile: When compiling super(), handle closed-over self variable. 8 years ago
Damien George a0973b09ce py/vm: Fix VM opcode tracing to print correct stack pointer. 8 years ago
Damien George 3f810daeb3 py/obj: Change mp_uint_t to size_t for mp_obj_get_array_fixed_n len arg. 8 years ago
Paul Sokolovsky 99866a00a0 py/nlrx86: Better check for Zephyr (requires 1.7). 8 years ago
Damien George ab5689bc9d py/objarray: Use mp_obj_str_get_str instead of mp_obj_str_get_data. 8 years ago
Damien George 64a4f11b2d py: Remove MP_STATE_CTX, use MP_STATE_THREAD instead (it's an alias). 8 years ago
Damien George 707f16b05c py: Use mp_locals/mp_globals accessor funcs instead of MP_STATE_CTX. 8 years ago
Damien George f4ee1ba9b4 py/objnamedtuple: Use size_t where appropriate, instead of mp_uint_t. 8 years ago
Damien George d1b93ced78 py/objtype: Use size_t where appropriate, instead of mp_uint_t or uint. 8 years ago
Damien George c236ebfea7 py/modbuiltins: Allow round() to return a big int if necessary. 8 years ago
Damien George 125eae1ba3 py/modbuiltins: For round() builtin use nearbyint instead of round. 8 years ago
Damien George c073519ec8 py/objint: Handle special case of -0 when classifying fp as int. 8 years ago
Damien George febeff4af4 py/modmath: Allow trunc/ceil/floor to return a big int if necessary. 8 years ago
Damien George f64a3e296e py/lexer: Remove obsolete comment, since lexer can now raise exceptions. 8 years ago
Damien George 60656eaea4 py: Define and use MP_OBJ_ITER_BUF_NSLOTS to get size of stack iter buf. 8 years ago
Damien George 507119f4d8 py/sequence: Convert mp_uint_t to size_t where appropriate. 8 years ago