summaryrefslogtreecommitdiff
path: root/py/obj.c
AgeCommit message (Expand)Author
2024-02-20py/obj: Introduce mp_obj_malloc_with_finaliser to allocate and set type.Damien George
2023-10-16py/obj: Generalise mp_get_buffer so it can raise if a flag is set.Damien George
2023-10-03all: Fix various spelling mistakes found by codespell 2.2.6.Damien George
2023-06-01py/obj: Accept user types in mp_obj_get_int_maybe.Damien George
2023-06-01py: Change MP_UNARY_OP_INT to MP_UNARY_OP_INT_MAYBE.Damien George
2023-05-19py/obj: Remove mp_generic_unary_op().David Lechner
2023-03-17py/obj: Add MP_NOINLINE to mp_obj_malloc_helper.David Lechner
2022-09-19py/obj: Merge getiter and iternext mp_obj_type_t slots.Jim Mussared
2022-09-19py/obj: Add accessors for type slots and use everywhere.Jim Mussared
2022-09-19all: Simplify buffer protocol to just a "get buffer" callback.Jim Mussared
2022-07-25py/obj: Make mp_obj_get_complex_maybe call mp_obj_get_float_maybe first.Damien George
2022-07-25py/obj: Add support for __float__ and __complex__ functions.Andrew Leech
2022-07-18py/obj: Add static safety checks to mp_obj_is_type().Yonatan Goldschmidt
2022-05-03py/obj: Introduce mp_obj_malloc macro to allocate, and set object type.Jim Mussared
2021-10-15py: Add wrapper macros so hot VM functions can go in fast code location.Damien George
2021-04-27py: Add option to compile without any error messages at all.Damien George
2020-06-27py/objcomplex: Add mp_obj_get_complex_maybe for use in complex bin-op.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-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-11py: Expand type equality flags to 3 separate ones, fix bool/namedtuple.Damien George
2020-01-30py: Support non-boolean results for equality and inequality tests.Nicko van Someren
2020-01-13py/obj: Optimise mp_obj_get_type for immediate objs with repr A and C.Damien George
2020-01-13py/obj: Add MICROPY_OBJ_IMMEDIATE_OBJS option to reduce code size.Damien George
2020-01-09py: Make mp_obj_get_type() return a const ptr to mp_obj_type_t.Damien George
2019-09-26py: Rename MP_QSTR_NULL to MP_QSTRnull to avoid intern collisions.Josh Lloyd
2019-06-05py/obj: Optimise small-int comparison to 0 in mp_obj_is_true.Yonatan Goldschmidt
2019-02-12py: Downcase all MP_OBJ_IS_xxx macros to make a more consistent C API.Damien George
2019-01-31py/warning: Support categories for warnings.Paul Sokolovsky
2018-12-07py/obj: Add support for __int__ special method.Paul Sokolovsky
2018-09-20py: Shorten error messages by using contractions and some rewording.Damien George
2017-10-04all: Remove inclusion of internal py header files.Damien George
2017-09-04py/obj: Fix comparison of float/complex NaN with itself.Damien George
2017-09-02py/objfloat: Fix binary ops with incompatible objects.Paul Sokolovsky
2017-08-29all: Convert mp_uint_t to mp_unary_op_t/mp_binary_op_t where appropriateDamien George
2017-07-31all: Use the name MicroPython consistently in commentsAlexander Steffen
2017-06-15all: Make more use of mp_raise_{msg,TypeError,ValueError} helpers.Damien George
2017-05-29various: Spelling fixesVille Skyttä
2017-03-29py: Convert mp_uint_t to size_t for tuple/list accessors.Damien George
2017-03-28py: Use mp_raise_TypeError/mp_raise_ValueError helpers where possible.Damien George
2017-03-26py/obj: Change mp_uint_t to size_t for mp_obj_get_array_fixed_n len arg.Damien George
2017-03-23py: Use size_t as len argument and return type of mp_get_index.Damien George
2017-02-16py: Add iter_buf to getiter type method.Damien George
2016-12-21py/objint: Rename mp_obj_int_as_float to mp_obj_int_as_float_impl.Damien George
2016-10-22py/{modbuiltins,obj}: Use MP_PYTHON_PRINTER where possible.Paul Sokolovsky
2016-10-17py: Use mp_raise_msg helper function where appropriate.Damien George
2016-07-22unix: Enable MICROPY_PY_STR_BYTES_CMP_WARN.Paul Sokolovsky
2016-07-22py/obj: Issue a warning when str and bytes objects are compared.Paul Sokolovsky