414 Commits (32ba679924b8f5c8a81cff905e6bd295c6bb4df8)

Author SHA1 Message Date
Damien George 9ce25d7022 py/runtime: Fix mp_unpack_ex so seq can't be reclaimed by GC during use. 6 years ago
Damien George 1754c71f45 py/runtime: Optimise to not create temp float for int to power negative. 6 years ago
Andrew Leech 8977c7eb58 py/scheduler: Convert micropythyon.schedule() to a circular buffer. 6 years ago
Damien George 440462b18e py/runtime: Remove long-obsolete MICROPY_FSUSERMOUNT init code. 6 years ago
Damien George 054dd33eba py: Downcase MP_xxx_SLOT_IS_FILLED inline functions. 6 years ago
Damien George eee1e8841a py: Downcase all MP_OBJ_IS_xxx macros to make a more consistent C API. 6 years ago
Paul Sokolovsky 8fea833e3f py: Update my copyright info on some files. 6 years ago
Damien George fa50047bbc py/runtime: Unlock the GIL in mp_deinit function. 6 years ago
Paul Sokolovsky b1d08726ee py/obj: Add support for __int__ special method. 6 years ago
Paul Sokolovsky 5c18730f28 py/runtime: Fix qstr assumptions when handling "import *". 6 years ago
Damien George a9237cee82 py/runtime: Remove comment in mp_import_name about level being 0. 6 years ago
Damien George 4ab397576f py/runtime: Use mp_import_name to implement tail of mp_import_from. 6 years ago
Damien George 2c7a3061d5 py/runtime: Remove nlr protection when calling __next__ in mp_resume. 6 years ago
Damien George b01f66c5f1 py: Shorten error messages by using contractions and some rewording. 6 years ago
stijn 89516b2b62 py/runtime: Fix incorrect test for MICROPY_PORT_DEINIT_FUNC. 6 years ago
Damien George e94d644a81 py/runtime: Use mp_obj_new_int_from_ll when return int is not small. 6 years ago
Damien George a6ea6b08bc py: Simplify some cases of accessing the map of module and type dict. 6 years ago
Damien George 035906419d extmod/uos_dupterm: Use native C stream methods on dupterm object. 7 years ago
Damien George bc87b862fd py/runtime: Add mp_load_method_protected helper which catches exceptions 7 years ago
Damien George 3f420c0c27 py: Don't include mp_optimise_value or opt_level() if compiler disabled. 7 years ago
Damien George f50b64cab5 py/runtime: Be sure that non-intercepted thrown object is an exception. 7 years ago
Damien George 3280788195 py/runtime: Check that keys in dicts passed as ** args are strings. 7 years ago
Damien George a9f6d49218 py/vm: Simplify handling of special-case STOP_ITERATION in yield from. 7 years ago
Damien George 209936880d py/builtinimport: Add compile-time option to disable external imports. 7 years ago
Damien George f5fb68e94f py/runtime: Remove unnecessary break statements from switch. 7 years ago
Damien George 30fd8484eb py/runtime: Use the Python stack when building *arg and **kwarg state. 7 years ago
Damien George 1e5a33df41 py: Convert all uses of alloca() to use new scoped allocation API. 7 years ago
Damien George 02d830c035 py: Introduce a Python stack for scoped allocation. 7 years ago
Damien George 5b8998da6d py/runtime: Move mp_exc_recursion_depth to runtime and rename to raise. 7 years ago
Paul Sokolovsky 39dd89fe31 py/runtime: When tracing unary/binary ops, output op (method) name. 7 years ago
Damien George 5e34a113ea py/runtime: Add MP_BINARY_OP_CONTAINS as reverse of MP_BINARY_OP_IN. 7 years ago
Damien George 9783ac282e py/runtime: Simplify handling of containment binary operator. 7 years ago
Damien George 37282f8fc1 extmod/uos_dupterm: Update uos.dupterm() and helper funcs to have index. 7 years ago
Damien George a3dc1b1957 all: Remove inclusion of internal py header files. 7 years ago
Paul Sokolovsky 9dce823cfd py/modbuiltins: Implement abs() by dispatching to MP_UNARY_OP_ABS. 7 years ago
Paul Sokolovsky eb84a830df py/runtime: Implement dispatch for "reverse op" special methods. 7 years ago
Damien George ca21aed0a1 py: Make m_malloc_fail() have void return type, since it doesn't return. 7 years ago
Damien George 58321dd985 all: Convert mp_uint_t to mp_unary_op_t/mp_binary_op_t where appropriate 7 years ago
Stefan Naumann ace9fb5405 py: Add verbose debug compile-time flag MICROPY_DEBUG_VERBOSE. 7 years ago
Javier Candeira 35a1fea90b all: Raise exceptions via mp_raise_XXX 7 years ago
Alexander Steffen 55f33240f3 all: Use the name MicroPython consistently in comments 7 years ago
Damien George 761e4c7ff6 all: Remove trailing spaces, per coding conventions. 7 years ago
Tom Collins 145796f037 py,extmod: Some casts and minor refactors to quiet compiler warnings. 7 years ago
Damien George 2138258fea py/runtime: Mark m_malloc_fail() as NORETURN. 7 years ago
Damien George 79ce664952 py/runtime: When init'ing kbd intr exc, use tuple ptr instead of object. 8 years ago
Damien George 6b34107537 py: Change mp_uint_t to size_t for mp_obj_str_get_data len arg. 8 years ago
Damien George 6213ad7f46 py: Convert mp_uint_t to size_t for tuple/list accessors. 8 years ago
Damien George 94c41bb06f py: Use mp_raise_TypeError/mp_raise_ValueError helpers where possible. 8 years ago
Damien George 707f16b05c py: Use mp_locals/mp_globals accessor funcs instead of MP_STATE_CTX. 8 years ago
Damien George 6e74d24f30 py: Add micropython.schedule() function and associated runtime code. 8 years ago