summaryrefslogtreecommitdiff
path: root/py/objstr.c
AgeCommit message (Expand)Author
2025-05-13py/objstr: Add support for the :_b/o/x specifier in str.format.Jeff Epler
2025-05-13all: Rename the "NORETURN" macro to "MP_NORETURN".Alessandro Gatti
2025-04-21py/objstr: Fix handling of OP_MODULO with namedtuple.Yoctopuce dev
2025-03-02py/objstr: Support tuples and start/end args in startswith and endswith.Glenn Moloney
2024-08-19py/objstr: Skip whitespace in bytes.fromhex().Glenn Moloney
2024-08-14py: Add new cstack API for stack checking, with limit margin macro.Angus Gratton
2024-07-04py/objstr: Add new mp_obj_new_str_from_cstr() helper function.Jon Foster
2024-03-07all: Remove the "STATIC" macro and just use "static" instead.Angus Gratton
2023-09-01py/objstr: Fix `str % {}` edge case.mcskatkat
2023-06-08all: Rename UMODULE to MODULE in preprocessor/Makefile vars.Jim Mussared
2023-05-19py/objstr: Return unsupported binop instead of raising TypeError.Damien George
2022-12-06py: Remove the word "yet" from exception messages.Damien George
2022-11-08py/objarray: Detect bytearray(str) without an encoding.Jim Mussared
2022-10-11py/objstr: Add a helper to set mp_obj_str_t data.Jim Mussared
2022-09-26py/objstr: Don't treat bytes as unicode in str.count.Jim Mussared
2022-09-19py/obj: Optimise code size and performance for make_new as a slot.Jim Mussared
2022-09-19py/obj: Convert make_new into a mp_obj_type_t slot.Jim Mussared
2022-09-19py/obj: Merge getiter and iternext mp_obj_type_t slots.Jim Mussared
2022-09-19all: Remove unnecessary locals_dict cast.Jim Mussared
2022-09-19all: Make all mp_obj_type_t defs use MP_DEFINE_CONST_OBJ_TYPE.Jim Mussared
2022-09-19all: Simplify buffer protocol to just a "get buffer" callback.Jim Mussared
2022-08-26py/objstr: Always validate utf-8 for mp_obj_new_str.Jim Mussared
2022-08-26py/objstr: Optimise mp_obj_new_str_from_vstr for known-safe strings.Jim Mussared
2022-08-26py/objstr: Always ensure mp_obj_str_from_vstr is unicode-safe.Jim Mussared
2022-08-26py/objstr: Split mp_obj_str_from_vstr into bytes/str versions.Jim Mussared
2022-08-12py/objstr: Add hex/fromhex to bytes/memoryview/bytearray.Jim Mussared
2022-08-11py/objstr: Consolidate methods for str/bytes/bytearray/array.Andrew Leech
2022-07-18py/obj: Add static safety checks to mp_obj_is_type().Yonatan Goldschmidt
2022-05-03all: Use mp_obj_malloc everywhere it's applicable.Jim Mussared
2022-01-19py/objstr: Support '{:08}'.format("Jan") like Python 3.10.Jeff Epler
2021-07-15py: Introduce and use mp_raise_type_arg helper.Damien George
2021-04-27py: Add option to compile without any error messages at all.Damien George
2020-12-07py/mpprint: Fix length calculation for strings with precision-modifier.Joris Peeraer
2020-09-24py/objstr: Make bytes(bytes_obj) return bytes_obj.Iyassou Shimels
2020-04-23all: Format code to add space after C++-style comment start.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-11py/objstr: Remove duplicate % in error string.Tom Collins
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-01-24py/obj.h: Add and use mp_obj_is_bool() helper.Yonatan Goldschmidt
2020-01-09py: Make mp_obj_get_type() return a const ptr to mp_obj_type_t.Damien George
2019-12-27py/objstr: Don't use inline GET_STR_DATA_LEN for object-repr D.Damien George
2019-10-22py/objstr: Size-optimise failure path for mp_obj_str_get_buffer.Jim Mussared
2019-09-26py: Rename MP_QSTR_NULL to MP_QSTRnull to avoid intern collisions.Josh Lloyd
2019-02-12py: Downcase all MP_OBJ_IS_xxx macros to make a more consistent C API.Damien George
2019-02-06py: Update my copyright info on some files.Paul Sokolovsky
2018-10-22py/objstr: Make str.count() method configurable.Paul Sokolovsky
2018-09-26py/objstr: format: Return bytes result for bytes format string.Paul Sokolovsky
2018-09-20py/objstr: Make % (__mod__) formatting operator configurable.Paul Sokolovsky