2951 Commits (e30ba2f1c7d0cccaf62640aa97de9fd6e82dcab7)

Author SHA1 Message Date
Damien George 1a5c8d1053 py/vm: Don't release the GIL if the scheduler is locked. 8 years ago
Damien George 6e74d24f30 py: Add micropython.schedule() function and associated runtime code. 8 years ago
stijn bf29fe2e13 py/objstr: Use better msg in bad implicit str/bytes conversion exception 8 years ago
Damien George 5640e6dacd py: Provide mp_decode_uint_value to help optimise stack usage. 8 years ago
Damien George 71a3d6ec3b py: Reduce size of mp_code_state_t structure. 8 years ago
Damien George d279bcff8a py/objstr: Fix eager optimisation of str/bytes addition. 8 years ago
Damien George 23a693ec2d py/mkrules.mk: Remove special check for "-B" in qstr auto generation. 8 years ago
Damien George d65371538d py/mpprint: Fix int formatting so "+" is printed for 0-valued integer. 8 years ago
Damien George 8cd4911e63 py/emitnative: Remove obsolete commented out code. 8 years ago
Damien George a5a84e1f85 py/emitnative: Use assertions and mp_not_implemented correctly. 8 years ago
Damien George d1ae6ae080 py/objint: Allow to print long-long ints without using the heap. 8 years ago
Damien George 1831034be1 py: Allow lexer to raise exceptions during construction. 8 years ago
Paul Sokolovsky 776883cb80 py/objint_longlong: Implement mp_obj_int_from_bytes_impl(). 8 years ago
Damien George 52b6764894 py/nlrx64: Fixes to support Mac OS. 8 years ago
Paul Sokolovsky fd49ff9917 py/nlrx86: Add workaround for Zephyr. 8 years ago
Krzysztof Blazewicz 7e480e8a30 py: Use mp_obj_get_array where sequence may be a tuple or a list. 8 years ago
Krzysztof Blazewicz 1215dc47e2 py/runtime.c: Remove optimization of '*a,=b', it caused a bug. 8 years ago
Paul Sokolovsky 96aa3a3102 py/modsys: Use MP_SMALL_INT_MAX for sys.maxsize in case of LONGINT_IMPL_NONE. 8 years ago
Damien George 914648ce0e py/py.mk: Force nlr files to be compiled with -Os. 8 years ago
Damien George f0dddb688d py/nlrx86: Convert from assembler to C file with inline asm. 8 years ago
Damien George 321848470c py/nlrx64: Convert from assembler to C file with inline asm. 8 years ago
Damien George a85755aa22 py/nlrxtensa: Convert from assembler to C file with inline asm. 8 years ago
Damien George be3d7f91e5 py/nlr.h: Mark nlr_jump_fail as NORETURN. 8 years ago
Damien George 05fe66f68a py: Move locals/globals dicts to the thread-specific state. 8 years ago
Damien George 9275c18270 py/map: Fix bugs with deletion of elements from OrderedDict. 8 years ago
Damien George f4a12dca58 py/objarray: Disallow slice-assignment to read-only memoryview. 8 years ago
Paul Sokolovsky 4b3da60324 py/runtime: mp_raise_msg(): Accept NULL argument for message. 8 years ago
Damien George f615d82d5b py/parse: Simplify handling of errors by raising them directly. 8 years ago
Damien George 5255255fb9 py: Create str/bytes objects in the parser, not the compiler. 8 years ago
Damien George 74f4d2c659 py/parse: Allow parser/compiler consts to be bignums. 8 years ago
Damien George b1b090255c py/moduerrno: Make list of errno codes configurable. 8 years ago
Damien George f563406d2e py/moduerrno: Make uerrno.errorcode dict configurable. 8 years ago
Damien George 89267886cc py/objlist: For list slice assignment, allow RHS to be a tuple or list. 8 years ago
Damien George bdebfaa4bf py/grammar: Remove unused rule. 8 years ago
Damien George 5124a94067 py/lexer: Convert mp_uint_t to size_t where appropriate. 8 years ago
Damien George 534b7c368d py: Do adjacent str/bytes literal concatenation in lexer, not compiler. 8 years ago
Damien George 773278ec30 py/lexer: Simplify handling of line-continuation error. 8 years ago
Damien George ae43679792 py/lexer: Use strcmp to make keyword searching more efficient. 8 years ago
Damien George a68c754688 py/lexer: Move check for keyword to name-tokenising block. 8 years ago
Damien George 98b3072da5 py/lexer: Simplify handling of indenting of very first token. 8 years ago
Damien George 6a11048af1 py/persistentcode: Bump .mpy version due to change in bytecode. 8 years ago
Damien George c264414746 py/lexer: Don't generate string representation for period or ellipsis. 8 years ago
Damien George 71019ae4f5 py/grammar: Group no-compile grammar rules together to shrink tables. 8 years ago
Damien George e6003f466e py: De-optimise some uses of mp_getiter, so they don't use the C stack. 8 years ago
Damien George 4d2bab1444 py/compile: Optimise list/dict/set comprehensions to use stack iter. 8 years ago
Damien George cb6300697c py/runtime: Optimise case of identity iterator so it doesn't alloc RAM. 8 years ago
Damien George 30b42dd72d py: Remove unused "use_stack" argument from for_iter_end emit function. 8 years ago
Damien George 088740ecc4 py: Optimise storage of iterator so it takes only 4 slots on Py stack. 8 years ago
Damien George 6e769da0da py: Make FOR_ITER opcode pop 1+4 slots from the stack when finished. 8 years ago
Damien George f4df3aaa72 py: Allow bytecode/native to put iter_buf on stack for simple for loops. 9 years ago