30 Commits (b56634e6919265de4f2344dfac81ace7abbcc15b)

Author SHA1 Message Date
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
Damien George 16677ce311 py: Be more precise about unicode type and disabled unicode behaviour. 10 years ago
Damien George 0b9ee86133 py: Add mp_obj_new_str_from_vstr, and use it where relevant. 10 years ago
Damien George cd34207409 py: Can compile with -Wmissing-declarations and -Wmissing-prototypes. 10 years ago
Paul Sokolovsky ed3b20aae8 modbuiltins.c: Fix NULL vs MP_OBJ_NULL usage. 10 years ago
Paul Sokolovsky c114496641 objstr: Implement kwargs support for str.format(). 10 years ago
Damien George 51dfcb4bb7 py: Move to guarded includes, everywhere in py/ core. 10 years ago
Damien George e37dcaafb4 py: Allow to properly disable builtin "set" object. 10 years ago
Damien George 2a3e2b9033 py: Add execfile function (from Python 2); enable in stmhal port. 10 years ago
Damien George 78d702c300 py: Allow builtins to be overridden. 10 years ago
Paul Sokolovsky 1eca32836d builtin: Reimplement __repl_print__() in terms of print(). 10 years ago
Damien George 1e9a92f84f py: Use shorter, static error msgs when ERROR_REPORTING_TERSE enabled. 10 years ago
Damien George 1559a97810 py: Add builtin round function. 10 years ago
Damien George e72be1b999 py: Fix smallint modulo with negative arguments. 10 years ago
Damien George 42f3de924b py: Convert [u]int to mp_[u]int_t where appropriate. 10 years ago
Damien George 83695596ed py: Fix build error when float disabled; add test for divmod. 10 years ago
Damien George 8594ce2280 py: Implement divmod, % and proper // for floating point. 10 years ago
Damien George c7687ad7e6 py: Rename mp_builtin_id to mp_obj_id and make it public. 10 years ago
Damien George 4abff7500f py: Change uint to mp_uint_t in runtime.h, stackctrl.h, binary.h. 10 years ago
Damien George d182b98a37 py: Change all uint to mp_uint_t in obj.h. 10 years ago
Damien George 7310fd469a py: Consolidate min/max functions into one, and add key= argument. 10 years ago
Damien George 4c03b3a899 py: Implement builtin reversed() function. 10 years ago
Damien George 69c5fe1df6 py: Make a function static; replace NULL with MP_OBJ_NULL. 10 years ago
Damien George c9aa58e638 py: Improve handling of long-int overflow. 10 years ago
Paul Sokolovsky 645582fe14 py: Make id() return small int for the most common address space mapping. 10 years ago
Paul Sokolovsky cb66f41ebc py: Make print() accept "file" argument, and actually print to stream. 10 years ago
Damien George 40f3c02682 Rename machine_(u)int_t to mp_(u)int_t. 11 years ago
Paul Sokolovsky 9e215fa4c2 py: Make unichar_charlen() accept/return machine_uint_t. 11 years ago
Damien George e04a44e2f6 py: Small comments, name changes, use of machine_int_t. 11 years ago
Paul Sokolovsky 42a52516fe builtin: Restore bytestr compatibility. 11 years ago