aboutsummaryrefslogtreecommitdiff
path: root/py
AgeCommit message (Expand)Author
2018-05-23py/emit: Combine yield value and yield-from emit funcs into one.Damien George
2018-05-23py/emit: Combine fast and deref into one function for load/store/delete.Damien George
2018-05-22py/objgenerator: Protect against reentering a generator.Damien George
2018-05-22py/objgenerator: Save state in old_globals instead of local variable.Damien George
2018-05-22py/modbuiltins: Add support for rounding integers.Jan Klusacek
2018-05-22py/parsenum: Adjust braces so they are balanced.Damien George
2018-05-21py/gc: When GC threshold is hit don't unnecessarily collect twice.Damien George
2018-05-21py/objfloat: Fix undefined integer behavior hashing negative zero.Jeff Epler
2018-05-21py/mpz: Avoid undefined behavior at integer overflow in mpz_hash.Jeff Epler
2018-05-21py/objfloat: Fix undefined shifting behavior in high-quality float hash.Jeff Epler
2018-05-21py/parsenum: Avoid undefined behavior parsing floats with large exponents.Jeff Epler
2018-05-21py/parsenum: Use int instead of mp_int_t for parsing float exponent.Damien George
2018-05-21py/emitbc: Avoid undefined behavior calling memset() with NULL 1st arg.Jeff Epler
2018-05-18py/compile: Change comment about ITER_BUF_NSLOTS to a static assertion.Damien George
2018-05-18py/misc.h: Add MP_STATIC_ASSERT macro to do static assertions.Damien George
2018-05-18py/repl: Fix handling of unmatched brackets and unfinished quotes.Li Weiwei
2018-05-18py/vm: Improve performance of opcode dispatch when using switch stmt.Damien George
2018-05-18py/vm: Use enum names instead of magic numbers in multi-opcode dispatch.Damien George
2018-05-17py/objfun: Fix variable name in DECODE_CODESTATE_SIZE() macro.Tom Collins
2018-05-16py/vm: Adjust #if logic for gil_divisor so braces are balanced.Damien George
2018-05-15py/nlrx86: Use naked attribute on nlr_push for gcc 8.0 and higher.Damien George
2018-05-13py/mpstate.h: Adjust start of root pointer section to exclude non-ptrs.Damien George
2018-05-11py/mpconfig.h: Be stricter when autodetecting machine endianness.Damien George
2018-05-11py/repl: Initialise q_last variable to prevent compiler warnings.Damien George
2018-05-11py/objdeque: Fix sign extension bug when computing len of deque object.Damien George
2018-05-10py/modbuiltins: Make built-in dir support the __dir__ special method.Damien George
2018-05-10py/modbuiltins: In built-in dir make use of mp_load_method_protected.Damien George
2018-05-10py/repl: Use mp_load_method_protected to prevent leaking of exceptions.Damien George
2018-05-10py/modbuiltins: Make built-in hasattr work properly for user types.Damien George
2018-05-10py/runtime: Add mp_load_method_protected helper which catches exceptionsDamien George
2018-05-09py/{modbuiltins,repl}: Start qstr probing from after empty qstr.Damien George
2018-05-04py/emitnx86: Fix 32-bit x86 native emitter build by including header.Damien George
2018-05-02py/builtinhelp: Change occurrence of mp_uint_t to size_t.Damien George
2018-05-01py/obj.h: Fix math.e constant for nan-boxing builds.Damien George
2018-05-01py/stream: Use uPy errno instead of system's for non-blocking check.Ayke van Laethem
2018-05-01py/mperrno: Define MP_EWOULDBLOCK as EWOULDBLOCK, not EAGAIN.Damien George
2018-04-27py/nlrthumb: Fix Clang support wrt use of "return 0".Ayke van Laethem
2018-04-10py: Refactor how native emitter code is compiled with a file per arch.Damien George
2018-04-10py/objgenerator: Check stack before resuming a generator.Jeff Epler
2018-04-10py/stream: Switch stream close operation from method to ioctl.Damien George
2018-04-05py/objstr: In find/rfind, don't crash when end < start.Jeff Epler
2018-04-05py/objint: Simplify LHS arg type checking in int binary op functions.Damien George
2018-04-04py: Don't include mp_optimise_value or opt_level() if compiler disabled.Damien George
2018-04-04py/modsys: Don't compile getsizeof function if feature is disabled.Damien George
2018-04-04py/vm: Optimise handling of stackless mode when pystack is enabled.Damien George
2018-04-04py/vm: Don't do unnecessary updates of ip and sp variables.Damien George
2018-03-30py/runtime: Be sure that non-intercepted thrown object is an exception.Damien George
2018-03-30py/runtime: Check that keys in dicts passed as ** args are strings.Damien George
2018-03-17py/objexcept: Make MP_DEFINE_EXCEPTION public so ports can define excs.Damien George
2018-03-16py/makeqstrdefs.py: Optimise by using compiled re's so it runs faster.Damien George