383 Commits (5b2f62aff312949c9c7edec6cfaaf4f97d93c442)

Author SHA1 Message Date
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
Krzysztof Blazewicz 7e480e8a30 py: Use mp_obj_get_array where sequence may be a tuple or a list. 8 years ago
Krzysztof Blazewicz 1215dc47e2 py/runtime.c: Remove optimization of '*a,=b', it caused a bug. 8 years ago
Paul Sokolovsky 4b3da60324 py/runtime: mp_raise_msg(): Accept NULL argument for message. 8 years ago
Damien George e6003f466e py: De-optimise some uses of mp_getiter, so they don't use the C stack. 8 years ago
Damien George cb6300697c py/runtime: Optimise case of identity iterator so it doesn't alloc RAM. 8 years ago
Damien George ae8d867586 py: Add iter_buf to getiter type method. 9 years ago
Damien George 4e3bac2e42 py/runtime: Convert mp_uint_t to size_t where appropriate. 8 years ago
Damien George dcb9ea7215 extmod: Add generic VFS sub-system. 8 years ago
Damien George e9cb1f8077 py/objmodule: Move module init/deinit code into runtime functions. 8 years ago
Damien George d7150b09d7 py/runtime: Refactor default case of switch to remove assert(0). 8 years ago
Damien George aeb2655073 py/runtime: Fix handling of throw() when resuming generator. 8 years ago
Damien George 40863fce6f py/runtime: Refactor assert(0) to improve coverage. 8 years ago
Damien George 7f1da0a03b py: Add MICROPY_KBD_EXCEPTION config option to provide mp_kbd_exception. 8 years ago
Damien George e8f2db7da3 py/runtime: Zero out fs_user_mount array in mp_init. 8 years ago
Paul Sokolovsky a0b2c6ad32 py/runtime: mp_resume: Fix exception handling for nanbox port. 8 years ago
Paul Sokolovsky 79d996a57b py/runtime: mp_resume: Handle exceptions in Python __next__(). 8 years ago
Damien George 571e6f26db py: Specialise builtin funcs to use separate type for fixed arg count. 8 years ago
Damien George 7d0d7215d2 py: Use mp_raise_msg helper function where appropriate. 8 years ago
Damien George 3a0a771730 py: Add mp_raise_OSError(errno) helper function. 8 years ago
Damien George 93c4a6a3f7 all: Remove 'name' member from mp_obj_module_t struct. 8 years ago
Damien George 5f3bda422a py: If str/bytes hash is 0 then explicitly compute it. 8 years ago
Paul Sokolovsky 9e1b61dedd py/runtime: Factor out exception raising helpers. 8 years ago
Damien George 4cec63a9db py: Implement a simple global interpreter lock. 9 years ago
Damien George 470c429ee1 py/runtime: Properly handle passing user mappings to ** keyword args. 9 years ago
Damien George fea40ad468 py: Fix bug passing a string as a keyword arg in a dict. 9 years ago
Damien George 2a1cca20b1 py: Fix passing of some wide int types to printf varg format list. 9 years ago
Paul Sokolovsky d3b1f0b627 py/runtime: mp_stack_ctrl_init() should be called immediately on startup. 9 years ago
Damien George a0c97814df py: Change type of .make_new and .call args: mp_uint_t becomes size_t. 9 years ago
Damien George 978d2e55ef py/runtime: Use appropriate printf fmt for malloc num_bytes. 9 years ago
Damien George 78913211a9 py: Be more restrictive binding self when looking up instance attrs. 9 years ago
Damien George dd5353a405 py: Add MICROPY_ENABLE_COMPILER and MICROPY_PY_BUILTINS_EVAL_EXEC opts. 9 years ago