3226 Commits (ca2b1d6b36b11706b537eba90144469ba28561d2)

Author SHA1 Message Date
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
stijn 42c4dd09a1 py/nlr: Fix missing trailing characters in comments in nlr.c 7 years ago
stijn b184b6ae53 py/nlr: Fix nlr functions for 64bit ports built with gcc on Windows 7 years ago
Damien George e784274430 py/mpz: In mpz_as_str_inpl, convert always-false checks to assertions. 7 years ago
Damien George 9766fddcdc py/mpz: Simplify handling of borrow and quo adjustment in mpn_div. 7 years ago
Damien George c7cb1dfcb9 py/parse: Fix macro evaluation by avoiding empty __VA_ARGS__. 7 years ago
Damien George d3fbfa491f py/parse: Update debugging code to compile on 64-bit arch. 7 years ago
Damien George 0016a45368 py/parse: Compress rule pointer table to table of offsets. 7 years ago
Damien George c2c92ceefc py/parse: Remove rule_t struct because it's no longer needed. 7 years ago
Damien George 66d8885d85 py/parse: Pass rule_id to push_result_token, instead of passing rule_t*. 7 years ago
Damien George 815a8cd1ae py/parse: Pass rule_id to push_result_rule, instead of passing rule_t*. 7 years ago
Damien George 845511af25 py/parse: Break rule data into separate act and arg arrays. 7 years ago
Damien George 1039c5e699 py/parse: Split out rule name from rule struct into separate array. 7 years ago
Damien George b25f92160b py/nlr: Factor out common NLR code to macro and generic funcs in nlr.c. 7 years ago
Damien George 5bf8e85fc8 py/nlr: Clean up selection and config of NLR implementation. 7 years ago
Damien George 97cc485538 py/nlrthumb: Fix use of naked funcs, must only contain basic asm code. 7 years ago
Paul Sokolovsky 096e967aad Revert "py/nlr: Factor out common NLR code to generic functions." 7 years ago
Damien George 26d4a6fa45 py/malloc: Remove unneeded code checking m_malloc return value. 7 years ago
Damien George 6a3a742a6c py/nlr: Factor out common NLR code to generic functions. 7 years ago
Damien George 304a3bcc1c py/modio: Use correct config macro to enable resource_stream function. 7 years ago
Damien George ae1be76d40 py/mpz: Apply a small code-size optimisation. 7 years ago
Damien George 374eaf5271 py/mpz: Fix pow3 function so it handles the case when 3rd arg is 1. 7 years ago
Damien George 7db79d8b03 py/objset: Remove unneeded check from set_equal. 7 years ago
Damien George 136cb7f27c py/map: Don't include ordered-dict mutating code when not needed. 7 years ago
Damien George f5fb68e94f py/runtime: Remove unnecessary break statements from switch. 7 years ago
Paul Sokolovsky 6364401666 py/objgenerator: Allow to pend an exception for next execution. 7 years ago
Damien George cf8e8c29e7 py/emitglue: Change type of bit-field to explicitly unsigned mp_uint_t. 7 years ago
Damien George f1c9e7760d py/builtinimport: Call __init__ for modules imported via a weak link. 8 years ago