summaryrefslogtreecommitdiff
path: root/py/objstr.c
AgeCommit message (Expand)Author
2020-01-29Tweak error messages to reduce code size.Scott Shawcroft
2019-10-14Switch arg check back to allow ignored args for stringsScott Shawcroft
2019-10-14Support __bytesScott Shawcroft
2019-08-28bleio: API change to create and connect related objects simulatenously: no or...Dan Halbert
2019-07-31cleanup adapter.address; add uniquish suffix to BLE device nameDan Halbert
2019-02-14extmod/ure: Support search/match() pos and endpos parametersNoralf Trønnes
2019-02-04Check sequence multiply for length overflowScott Shawcroft
2019-01-14fixup micropyScott Shawcroft
2019-01-14py changes for supporting superclass constructors that take kwargsScott Shawcroft
2018-08-09Two fixes and translate more strings.Scott Shawcroft
2018-07-11WIP: after merge; before testingDan Halbert
2018-04-05py/objstr: In find/rfind, don't crash when end < start.Jeff Epler
2018-03-31py/objstr: Don't crash when end < startJeff Epler
2018-03-30py/runtime: Check that keys in dicts passed as ** args are strings.Damien George
2018-02-20py/objstr: Remove unnecessary check for positive splits variable.Damien George
2018-02-19py/objstr: Protect against creating bytes(n) with n negative.Damien George
2018-02-14py/unicode: Clean up utf8 funcs and provide non-utf8 inline versions.Damien George
2017-11-29py: Annotate func defs with NORETURN when their corresp decls have it.Damien George
2017-11-24py/runtime: Add MP_BINARY_OP_CONTAINS as reverse of MP_BINARY_OP_IN.Damien George
2017-11-16py/objstr: When constructing str from bytes, check for existing qstr.Damien George
2017-11-16py/objstr: Make mp_obj_new_str_of_type check for existing interned qstr.Damien George
2017-11-16py/objstr: Remove "make_qstr_if_not_already" arg from mp_obj_new_str.Damien George
2017-10-24Merge commit 'f869d6b2e339c04469c6c9ea3fb2fabd7bbb2d8c' into nrf2_mergeScott Shawcroft
2017-10-04py/objstr: Make empty bytes object have a null-terminating byte.Damien George
2017-10-04all: Remove inclusion of internal py header files.Damien George
2017-09-19py/objstr: strip: Don't strip "\0" by default.Paul Sokolovsky
2017-09-06py/objstr: Add check for valid UTF-8 when making a str from bytes.tll
2017-08-29all: Convert mp_uint_t to mp_unary_op_t/mp_binary_op_t where appropriateDamien George
2017-08-29py/objstr: startswith, endswith: Check arg to be a string.Paul Sokolovsky
2017-08-25Initial merge of micropython v1.9.2 into circuitpython 2.0.0 (in development)...Dan Halbert
2017-08-13all: Raise exceptions via mp_raise_XXXJavier Candeira
2017-08-09py/objstr: Raise an exception for wrong type on RHS of str binary op.Damien George
2017-07-31all: Use the name MicroPython consistently in commentsAlexander Steffen
2017-07-04py/objstr: Remove unnecessary "sign" variable in formatting code.Damien George
2017-07-02py/objstr: Move uPy function wrappers to just after the C function.Damien George
2017-06-20Merge tag 'v1.9.1'2.0.0-alpha.0Scott Shawcroft
2017-06-08py/objstr: Allow to compile with obj-repr D, and unicode disabled.Damien George
2017-06-02py/objstr: Catch case of negative "maxsplit" arg to str.rsplit().Damien George
2017-05-29various: Spelling fixesVille Skyttä
2017-04-02py/objstr: Use MICROPY_FULL_CHECKS for range checking when constructing bytes.Paul Sokolovsky
2017-03-29py: Change mp_uint_t to size_t for mp_obj_str_get_data len arg.Damien George
2017-03-29py: Convert mp_uint_t to size_t for tuple/list accessors.Damien George
2017-03-23py: Use size_t as len argument and return type of mp_get_index.Damien George
2017-03-20py/objstr: Use better msg in bad implicit str/bytes conversion exceptionstijn
2017-03-16py/objstr: Fix eager optimisation of str/bytes addition.Damien George
2017-03-07py: Use mp_obj_get_array where sequence may be a tuple or a list.Krzysztof Blazewicz
2017-02-24Correct name of mp_raise_NotImplementedError to make error name.Scott Shawcroft
2017-02-24Switch exception throwing to mp_raise helpers. It saves a little code space e...Scott Shawcroft
2017-02-16py: Add iter_buf to getiter type method.Damien George
2017-02-16py/objstr: Convert mp_uint_t to size_t (and use int) where appropriate.Damien George