2884 Commits (4352b944d2fe0919b34774bec1a6ea440649a1df)

Author SHA1 Message Date
Damien George e1cda00387 py/modsys: Allow to compile with obj-repr D and PY_ATTRTUPLE disabled. 8 years ago
Damien George 326e8860ab py/objstr: Allow to compile with obj-repr D, and unicode disabled. 8 years ago
Damien George 72732fea1a py/persistentcode: Allow to compile with complex numbers disabled. 8 years ago
Paul Sokolovsky 5da8de2b66 extmod/modlwip: Fix error codes for duplicate calls to connect(). 8 years ago
Damien George 9f85c4fe48 py/objstr: Catch case of negative "maxsplit" arg to str.rsplit(). 8 years ago
Damien George bc76302eab py/modbuiltins: Add core-provided version of input() function. 8 years ago
Ville Skyttä ca16c38210 various: Spelling fixes 8 years ago
Tom Collins e26fb3ad73 py/objstringio: Catch mp_uint_t overflow of stream position in write(). 8 years ago
Damien George 85f7b0b468 py/mkrules.mk: Fix auto-qstr generation when "make -B" is used. 8 years ago
Damien George 8f064e469d py/emitbc: Fix bug with BC emitter computing Python stack size. 8 years ago
Damien George 04d05db27e py/vm: Fix bug with unwind jump popping the iterator from a for loop. 8 years ago
Damien George 68e71eacb8 py/vm: Fix bug with stackless mode and unwinding of exceptions. 8 years ago
Damien George 338f0849d9 py/mkenv.mk: Use $(TOP) instead of ".." to reference tools, mpy-cross. 8 years ago
Damien George 03659c51ca py/objrange: Fix slicing of range when step of slice is negative. 8 years ago
Damien George eb4c37f7a4 py/sequence: Fix boundary errors when slicing with a negative step. 8 years ago
Tom Collins 53461deb04 py/objstringio: Fix StringIO reads at or beyond EOF. 8 years ago
Tom Collins f06d0839bd py/modsys: update conditionals for code referencing sys.stdout 8 years ago
Tom Collins 6f56412ec3 py/lexer: Process CR earlier to allow newlines checks on chr1. 8 years ago
Damien George a1f254028d py/mkrules.mk: Add dependency of .mpy files upon mpy-cross. 8 years ago
Paul Sokolovsky edc02bd952 unix/main: Implement -m option for packages. 8 years ago
Tom Collins 2998647c4e py/lexer: Simplify lexer startup by using dummy bytes and next_char(). 8 years ago
Damien George 6cfa61a4cc py/binary: Handle storing big-ints to all arrays types. 8 years ago
Paul Sokolovsky 4a4490ffcc py/modio: resource_stream: Implement "package" param handling. 8 years ago
Damien George 58bb73e010 py/objint: In int.from_bytes, only create big-int if really needed. 8 years ago
Paul Sokolovsky d7da2dba07 py/modio: Implement uio.resource_stream(package, resource_path). 8 years ago
stijn 2f0ce2a6f5 py: Cleanup use of global DEBUG preprocessor definition 8 years ago
Damien George f85fd79c6c py/mpz: In mpn_sub, use existing function to remove trailing zeros. 8 years ago
Damien George c7aa86ce6f py/mpz: Strip trailing zeros from mpz value when set from bytes. 8 years ago
Damien George dd11af209d py: Add LOAD_SUPER_METHOD bytecode to allow heap-free super meth calls. 8 years ago
Damien George 5335942b59 py/compile: Refactor handling of special super() call. 8 years ago
Damien George 0dd6a59c89 py/compile: Don't do unnecessary check if iter parse node is a struct. 8 years ago
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