aboutsummaryrefslogtreecommitdiff
path: root/py
AgeCommit message (Expand)Author
2016-10-24py: Add "delattr" builtin, conditional on MICROPY_CPYTHON_COMPAT.Damien George
2016-10-24py/modbuiltins: Add builtin "slice", pointing to existing slice type.Damien George
2016-10-22py/{modbuiltins,obj}: Use MP_PYTHON_PRINTER where possible.Paul Sokolovsky
2016-10-21lib/utils/pyhelp.c: Use mp_printf() instead of printf()Erik Moqvist
2016-10-21py: Specialise builtin funcs to use separate type for fixed arg count.Damien George
2016-10-21py: Be more specific with MP_DECLARE_CONST_FUN_OBJ macros.Damien George
2016-10-21py/py.mk: Automatically add frozen.c to source list if FROZEN_DIR is defined.Paul Sokolovsky
2016-10-17py: Use mp_raise_msg helper function where appropriate.Damien George
2016-10-17py/objdict: Actually provide the key that failed in KeyError exception.Damien George
2016-10-17py/objdict: Fix optimisation for allocating result in fromkeys.Damien George
2016-10-14extmod/utime_mphal: Factor out implementations in terms of mp_hal_* for reuse.Paul Sokolovsky
2016-10-14py/vstr: Combine vstr_new_size with vstr_new since they are rarely used.Damien George
2016-10-13extmod/modujson: Implement ujson.load() to load JSON from a stream.Damien George
2016-10-12esp8266: Enable importing of precompiled .mpy files.Damien George
2016-10-12py/lexer: Remove unnecessary code, and unreachable code.Damien George
2016-10-12py/compile: Remove debugging code for compiler dispatch.Damien George
2016-10-11py/objint: Use size_t for arguments that measure bytes/sizes.Damien George
2016-10-11py: Factor duplicated function to calculate size of formatted int.Damien George
2016-10-11py/mpz: Use assert to verify mpz does not have a fixed digit buffer.Damien George
2016-10-11py/mpz: In divmod, replace check for rhs!=0 with assert.Damien George
2016-10-11py/compile: Remove unreachable code.Damien George
2016-10-11py/modmicropython: Add micropython.opt_level([value]) function.Damien George
2016-10-09py/objstringio: Add readinto() method.Paul Sokolovsky
2016-10-07py: Add mp_raise_OSError(errno) helper function.Damien George
2016-10-07py/modstruct: Remove unreachable code, and add comment about CPy diff.Damien George
2016-09-30py/objbool: Make a slight simplification of bool constructor.Damien George
2016-09-30py/objbool: Defer bool's unary op implementation to small int.Damien George
2016-09-30py/argcheck: Simplify if-chain so that the last one is the default.Damien George
2016-09-30py/compile: Fix typo when checking for parse-node kind.Damien George
2016-09-30py/scope: Factor common code to find locals and close over them.Damien George
2016-09-30py/scope: Shrink scope_t struct by 1 machine word.Damien George
2016-09-30py/scope: Use lookup-table to determine a scope's simple name.Damien George
2016-09-28py/compile: Fix async-for/async-with to work with simpler exc on stack.Damien George
2016-09-28py/objset: Ensure that use of frozenset.update raises an exception.Damien George
2016-09-28py/objset: Use mp_check_self() to check args of set/frozenset methods.Damien George
2016-09-27py/objfun: Use if instead of switch to check return value of VM execute.Damien George
2016-09-27py/objfun: Remove unnecessary check for viper fun with 5 or more args.Damien George
2016-09-27py/emitbc: Remove/refactor unreachable code, to improve coverage.Damien George
2016-09-27py/objstr: Remove unreachable function used only for terse error msgs.Damien George
2016-09-27py/modmicropython: Add micropython.const, alias for identity function.Damien George
2016-09-27py/vm: Use MP_OBJ_FROM_PTR to cast a type to an object.Damien George
2016-09-27py: Only store the exception instance on Py stack in bytecode try block.Damien George
2016-09-23py/py.mk: Add support for building modussl_mbedtls.Paul Sokolovsky
2016-09-23py/parse: Only replace constants that are standalone identifiers.Damien George
2016-09-23py: Update opcode format table because 3 opcodes were removed, 1 added.Damien George
2016-09-23py: Shrink mp_arg_t struct by using reduced-size integer members.Damien George
2016-09-22py/py.mk: Suppress some compiler warnings when building berkeley-db.Damien George
2016-09-22py/stream: Remove unnecessary check for NULL return from vstr_extend.Damien George
2016-09-22all: Remove 'name' member from mp_obj_module_t struct.Damien George
2016-09-20py/builtinimport: Fix nanbox build after change to better handle -m modules.Paul Sokolovsky