summaryrefslogtreecommitdiff
path: root/py/modbuiltins.c
AgeCommit message (Expand)Author
2024-03-07all: Remove the "STATIC" macro and just use "static" instead.Angus Gratton
2023-11-28py/modbuiltins: Share vstr_add_char's implementation of utf8 encoding.Jeff Epler
2023-04-27all: Fix spelling mistakes based on codespell check.Damien George
2022-09-19py/obj: Convert make_new into a mp_obj_type_t slot.Jim Mussared
2022-09-19py/obj: Add accessors for type slots and use everywhere.Jim Mussared
2022-08-26py/objstr: Optimise mp_obj_new_str_from_vstr for known-safe strings.Jim Mussared
2022-08-26py/objstr: Split mp_obj_str_from_vstr into bytes/str versions.Jim Mussared
2022-06-02all: Remove third argument to MP_REGISTER_MODULE.Damien George
2022-05-25py/builtin: Clean up and simplify import_stat and builtin_open config.Damien George
2022-05-18py: Make builtin modules use MP_REGISTER_MODULE.Jim Mussared
2022-01-07py/modbuiltins: Add additional macro for extending builtins.stijn
2021-07-15py: Support single argument to optimised MP_OBJ_STOP_ITERATION.Damien George
2021-07-12all: Update to point to files in new shared/ directory.Damien George
2021-04-27py: Add option to compile without any error messages at all.Damien George
2020-06-02py/modbuiltins: Fix getattr to work with class raising AttributeError.Damien George
2020-04-18all: Fix implicit floating point to integer conversions.stijn
2020-04-05all: Use MP_ERROR_TEXT for all error messages.Jim Mussared
2020-04-05py: Use preprocessor to detect error reporting level (terse/detailed).Jim Mussared
2020-03-18all: Convert exceptions to use mp_raise_XXX helpers in remaining places.Damien George
2020-02-28all: Reformat C and Python source code with tools/codeformat.py.Damien George
2020-02-13py: Add mp_raise_msg_varg helper and use it where appropriate.Damien George
2020-02-13py: Add mp_raise_type helper macro and use it where appropriate.Damien George
2019-12-28py: Clean up commented-out code and comments about exception hierarchy.Damien George
2019-02-12py: Downcase MP_xxx_SLOT_IS_FILLED inline functions.Damien George
2019-02-12py: Downcase all MP_OBJ_IS_xxx macros to make a more consistent C API.Damien George
2019-01-27py: Add optional support for 2-argument version of built-in next().stijn
2018-09-20py/modbuiltins: Make oct/hex work when !MICROPY_PY_BUILTINS_STR_OP_MODULOPaul Sokolovsky
2018-06-20py: Add checks for stream objects in print() and sys.print_exception().Damien George
2018-05-22py/modbuiltins: Add support for rounding integers.Jan Klusacek
2018-05-10py/modbuiltins: Make built-in dir support the __dir__ special method.Damien George
2018-05-10py/modbuiltins: In built-in dir make use of mp_load_method_protected.Damien George
2018-05-10py/modbuiltins: Make built-in hasattr work properly for user types.Damien George
2018-05-09py/{modbuiltins,repl}: Start qstr probing from after empty qstr.Damien George
2018-02-19py/modbuiltins: Simplify and generalise dir() by probing qstrs.Damien George
2018-02-14py/modbuiltins: Simplify casts from char to byte ptr in builtin ord.Damien George
2018-02-14py/unicode: Clean up utf8 funcs and provide non-utf8 inline versions.Damien George
2018-02-07py/modbuiltins: For builtin_chr, use uint8_t instead of char for array.Damien George
2017-12-05py/modbuiltins: Use standard arg-parsing helper func for builtin print.Damien George
2017-11-22py/modbuiltins: Slightly simplify code in builtin round().Damien George
2017-11-16py/objstr: Remove "make_qstr_if_not_already" arg from mp_obj_new_str.Damien George
2017-10-11py/modbuiltins: Use existing utf8_get_char helper in builtin ord func.Damien George
2017-10-04all: Remove inclusion of internal py header files.Damien George
2017-09-18py/modbuiltins: Implement abs() by dispatching to MP_UNARY_OP_ABS.Paul Sokolovsky
2017-08-02py,extmod,stmhal: Use "static inline" for funcs that should be inline.Damien George
2017-07-31all: Use the name MicroPython consistently in commentsAlexander Steffen
2017-07-07py,extmod: Some casts and minor refactors to quiet compiler warnings.Tom Collins
2017-07-04py: Change mp_uint_t to size_t in builtins code.Damien George
2017-06-15all: Make more use of mp_raise_{msg,TypeError,ValueError} helpers.Damien George
2017-06-01py/modbuiltins: Add core-provided version of input() function.Damien George
2017-05-14py/modsys: update conditionals for code referencing sys.stdoutTom Collins