3011 Commits (08a196697c5dfb8cbe3b3e85c1c5f94e3a27804c)

Author SHA1 Message Date
Damien George bdb0d2d0bc py/modbuiltins: Add builtin "slice", pointing to existing slice type. 8 years ago
Paul Sokolovsky 3730090d8f py/{modbuiltins,obj}: Use MP_PYTHON_PRINTER where possible. 8 years ago
Erik Moqvist f64e806f50 lib/utils/pyhelp.c: Use mp_printf() instead of printf() 8 years ago
Damien George 571e6f26db py: Specialise builtin funcs to use separate type for fixed arg count. 8 years ago
Damien George 4ebdb1f2b2 py: Be more specific with MP_DECLARE_CONST_FUN_OBJ macros. 8 years ago
Paul Sokolovsky b440307b4a py/py.mk: Automatically add frozen.c to source list if FROZEN_DIR is defined. 8 years ago
Damien George 7d0d7215d2 py: Use mp_raise_msg helper function where appropriate. 8 years ago
Damien George 2750a7b38e py/objdict: Actually provide the key that failed in KeyError exception. 8 years ago
Damien George a3edeb9ea5 py/objdict: Fix optimisation for allocating result in fromkeys. 8 years ago
Paul Sokolovsky a97284423e extmod/utime_mphal: Factor out implementations in terms of mp_hal_* for reuse. 8 years ago
Damien George 824f5c5a32 py/vstr: Combine vstr_new_size with vstr_new since they are rarely used. 8 years ago
Damien George e93c1ca5da extmod/modujson: Implement ujson.load() to load JSON from a stream. 8 years ago
Damien George af8d791bd0 esp8266: Enable importing of precompiled .mpy files. 8 years ago
Damien George 31101d91ce py/lexer: Remove unnecessary code, and unreachable code. 8 years ago
Damien George deaa57acf3 py/compile: Remove debugging code for compiler dispatch. 8 years ago
Damien George 6dff3df501 py/objint: Use size_t for arguments that measure bytes/sizes. 8 years ago
Damien George 8bb7d958f1 py: Factor duplicated function to calculate size of formatted int. 8 years ago
Damien George df3e5d2b2f py/mpz: Use assert to verify mpz does not have a fixed digit buffer. 8 years ago
Damien George 48874942f0 py/mpz: In divmod, replace check for rhs!=0 with assert. 8 years ago
Damien George e49153fb98 py/compile: Remove unreachable code. 8 years ago
Damien George 7dc2345715 py/modmicropython: Add micropython.opt_level([value]) function. 8 years ago
Paul Sokolovsky d22a04d9c4 py/objstringio: Add readinto() method. 8 years ago
Damien George 3a0a771730 py: Add mp_raise_OSError(errno) helper function. 8 years ago
Damien George dffa383b06 py/modstruct: Remove unreachable code, and add comment about CPy diff. 8 years ago
Damien George 8de270b4fc py/objbool: Make a slight simplification of bool constructor. 8 years ago
Damien George eca1408f16 py/objbool: Defer bool's unary op implementation to small int. 8 years ago
Damien George 3be4f886ce py/argcheck: Simplify if-chain so that the last one is the default. 8 years ago
Damien George 216a711cd4 py/compile: Fix typo when checking for parse-node kind. 8 years ago
Damien George 0d10517a45 py/scope: Factor common code to find locals and close over them. 8 years ago
Damien George d5495966ce py/scope: Shrink scope_t struct by 1 machine word. 8 years ago
Damien George 3dea8c9e92 py/scope: Use lookup-table to determine a scope's simple name. 8 years ago
Damien George b32c01b748 py/compile: Fix async-for/async-with to work with simpler exc on stack. 8 years ago
Damien George 2c7716fed0 py/objset: Ensure that use of frozenset.update raises an exception. 8 years ago
Damien George dd4135aeaf py/objset: Use mp_check_self() to check args of set/frozenset methods. 8 years ago
Damien George 0c595fa094 py/objfun: Use if instead of switch to check return value of VM execute. 8 years ago
Damien George c71edaed73 py/objfun: Remove unnecessary check for viper fun with 5 or more args. 8 years ago
Damien George 7385b018ed py/emitbc: Remove/refactor unreachable code, to improve coverage. 8 years ago
Damien George 897129a7ff py/objstr: Remove unreachable function used only for terse error msgs. 8 years ago
Damien George 791b65f4b2 py/modmicropython: Add micropython.const, alias for identity function. 8 years ago
Damien George 71fec076dc py/vm: Use MP_OBJ_FROM_PTR to cast a type to an object. 8 years ago
Damien George f040685b0c py: Only store the exception instance on Py stack in bytecode try block. 8 years ago
Paul Sokolovsky 9cc8ec843e py/py.mk: Add support for building modussl_mbedtls. 8 years ago
Damien George 6d310a5552 py/parse: Only replace constants that are standalone identifiers. 8 years ago
Damien George 7df9291b6c py: Update opcode format table because 3 opcodes were removed, 1 added. 8 years ago
Damien George e97df97600 py: Shrink mp_arg_t struct by using reduced-size integer members. 8 years ago
Damien George 6c79980b0e py/py.mk: Suppress some compiler warnings when building berkeley-db. 8 years ago
Damien George 79ec869f95 py/stream: Remove unnecessary check for NULL return from vstr_extend. 8 years ago
Damien George 93c4a6a3f7 all: Remove 'name' member from mp_obj_module_t struct. 8 years ago
Paul Sokolovsky 7ea3fa2641 py/builtinimport: Fix nanbox build after change to better handle -m modules. 8 years ago
Delio Brignoli 21c719bd0a builtinimport: add the module specified by -m to sys.modules as '__main__' 8 years ago