59 Commits (fb161aa45a8110d18b08efa3175027b8fbac5463)

Author SHA1 Message Date
Damien George ae8d867586 py: Add iter_buf to getiter type method. 9 years ago
Nicko van Someren df0117c8ae py: Added optimised support for 3-argument calls to builtin.pow() 8 years ago
Damien George 9f04dfb568 py: Add builtin help function to core, with default help msg. 8 years ago
Damien George 7318949c46 py/modbuiltins: Remove unreachable code. 8 years ago
Damien George 5076e5c339 py: Add "delattr" builtin, conditional on MICROPY_CPYTHON_COMPAT. 8 years ago
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
Damien George 7d0d7215d2 py: Use mp_raise_msg helper function where appropriate. 8 years ago
Damien George 93c4a6a3f7 all: Remove 'name' member from mp_obj_module_t struct. 8 years ago
Paul Sokolovsky c4a8004933 py: Get rid of assert() in method argument checking functions. 8 years ago
pohmelie 81ebba7e02 py: add async/await/async for/async with syntax 9 years ago
Paul Sokolovsky b67d098841 py/modbuiltins: __repl_print__: Add comment about setting "_" special var. 9 years ago
Damien George 2a1cca20b1 py: Fix passing of some wide int types to printf varg format list. 9 years ago
Damien George 5b3f0b7f39 py: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*. 9 years ago
Damien George 4b72b3a133 py: Change type signature of builtin funs that take variable or kw args. 9 years ago
Damien George 43cab7c283 py/modbuiltins: Fix access of mp_obj_t variable, wrap in MP_OBJ_TO_PTR. 9 years ago
Dave Hylands 7281d95aee py: Make dir report instance members 9 years ago
Damien George 1b0aab621b py: Change struct and macro for builtin fun so they can be type checked. 9 years ago
Damien George dd5353a405 py: Add MICROPY_ENABLE_COMPILER and MICROPY_PY_BUILTINS_EVAL_EXEC opts. 9 years ago
pohmelie c6ee273410 py: Add min/max "default" keyword argument 9 years ago
pohmelie 354e688d8e py: Add MICROPY_PY_BUILTINS_MIN_MAX, disable for minimal ports. 9 years ago
Damien George 999cedb90f py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR. 9 years ago
Damien George cbf7674025 py: Add MP_ROM_* macros and mp_rom_* types and use them. 9 years ago
Damien George 0e3f29cc99 py: Check that second argument to hasattr is actually a string. 9 years ago
Damien George aaef1851a7 py: Add mp_obj_is_float function (macro) and use it where appropriate. 9 years ago
Damien George 035a0a2b6e py: Add support for _ in REPL to hold last computed value. 9 years ago
Paul Sokolovsky 1b586f3a73 py: Rename MP_BOOL() to mp_obj_new_bool() for consistency in naming. 9 years ago
Paul Sokolovsky 21ffa7c4ba modbuiltins: Consistently use indentation for #if. 9 years ago
Paul Sokolovsky 22ff397fb1 py: Add MICROPY_PY_BUILTINS_FILTER, disable for minimal ports. 9 years ago
Sebastian Plamauer 1e8ca3a3cf modbuiltins: Implement round() to precision. 9 years ago
Damien George c5029bcbf3 py: Add MP_BINARY_OP_DIVMOD to simplify and consolidate divmod builtin. 10 years ago
Damien George d7192fe68c py: Expose KeyboardInterrupt in builtins module. 10 years ago
Damien George c2a4e4effc py: Convert hash API to use MP_UNARY_OP_HASH instead of ad-hoc function. 10 years ago
Paul Sokolovsky 7667727021 objsingleton: New home for Ellipsis and NotImplemented. 10 years ago
Paul Sokolovsky 5ab5ac5448 modbuiltins: Add NotImplemented builtin constant. 10 years ago
Damien George c8b60f013b py: Make viper codegen raise proper exception (ViperTypeError) on error. 10 years ago
Damien George d8cbbcaa9d py: Fix builtin ord so that it can handle bytes values >= 0x80. 10 years ago
Damien George e72cda99fd py: Convert occurrences of non-debug printf to mp_printf. 10 years ago
Damien George 5ae5ec986e py: Make mp_sys_stdout_print object, wrapping sys.stdout for mp_print*. 10 years ago
Damien George 7f9d1d6ab9 py: Overhaul and simplify printf/pfenv mechanism. 10 years ago
stijn e50cff69bb py: Use a dummy type for referring to extern structs 10 years ago
Paul Sokolovsky 282ca09f8e py: Add MICROPY_PY_BUILTINS_REVERSED, disable for minimal ports. 10 years ago
Paul Sokolovsky e2d44e30c7 py: Add MICROPY_PY_BUILTINS_ENUMERATE, disable for minimal ports. 10 years ago
Paul Sokolovsky fdaac1dbf8 modbuiltins: round(): Accept second arg, and at least support it to be 0. 10 years ago
Damien George 2e2e404ff7 py: Allow to compile with extra warnings (sign-compare, unused-param). 10 years ago
Damien George 6837d46c1d py: Fix builtin abs so it works for bools and bignum. 10 years ago
Damien George db1e10d5ea py: Use SMALL_INT creation macro in builtin sum. 10 years ago
Paul Sokolovsky 71ebd4b7f0 py: Implement UnicodeError. 10 years ago
stijn c1832fd206 py: Add setattr builtin. 10 years ago
Damien George 81e70a88a7 py: Make REPL printing function print repr of object, not str. 10 years ago