summaryrefslogtreecommitdiff
path: root/py/obj.h
AgeCommit message (Expand)Author
2024-04-22py/obj: Fix initialiser order in MP_DEFINE_CONST_OBJ_TYPE_NARGS_ macros.Vonasmic
2024-02-20py/objfun: Split viper fun type out to separate mp_type_fun_viper type.Damien George
2024-02-20py/objfun: Make mp_obj_new_fun_native/mp_obj_new_fun_asm static-inline.Damien George
2024-02-20py/obj: Introduce mp_obj_malloc_with_finaliser to allocate and set type.Damien George
2024-02-19py/obj: Change sizeof to offsetof in mp_obj_malloc_var macro.Damien George
2023-11-17py/obj: Fix mp_obj_is_type compilation with C++.stijn
2023-10-16py/obj: Generalise mp_get_buffer so it can raise if a flag is set.Damien George
2023-10-13py/objboundmeth: Support comparing and hashing bound methods.Daniƫl van de Giessen
2023-06-08py/objmodule: Add a table of built-in modules with delegation.Jim Mussared
2023-06-08py/makemoduledefs.py: Add a way to register extensible built-in modules.Jim Mussared
2023-06-01py/builtinimport: Optimise sub-package loading.Jim Mussared
2023-05-19py/obj: Remove mp_generic_unary_op().David Lechner
2023-03-28py/obj: Fix spelling of staticmethod.David Lechner
2023-01-20py: Add parenthesis to default impl of MP_OBJ_TO_PTR, MP_OBJ_FROM_PTR.Alex Riesen
2022-12-15py/obj: Remove unused MP_DEFINE_CONST_OBJ_FULL_TYPE macro.Jim Mussared
2022-10-26py/obj: Add comments explaining the slot index scheme.Jim Mussared
2022-10-25py/obj: Verify floating point type is correct for repr C.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-19py/obj: Remove basic mp_obj_type_t sparse representation.Jim Mussared
2022-09-19py/obj: Add slot-index mp_obj_type_t representation.Jim Mussared
2022-09-19py/obj: Add accessors for type slots and use everywhere.Jim Mussared
2022-09-19py/obj: Add "full" and "empty" non-variable-length mp_obj_type_t.Jim Mussared
2022-09-19py/obj: Add macro to declare ROM mp_obj_type_t instances.Jim Mussared
2022-09-19all: Simplify buffer protocol to just a "get buffer" callback.Jim Mussared
2022-09-13py/objpolyiter: Add a new polyiter type with finaliser support.Andrew Leech
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: Split mp_obj_str_from_vstr into bytes/str versions.Jim Mussared
2022-08-23py: Clean up formatting of union definitions.Damien George
2022-08-11py/objstr: Consolidate methods for str/bytes/bytearray/array.Andrew Leech
2022-07-18py/make_root_pointers: Add MP_REGISTER_ROOT_POINTER parser/generator.David Lechner
2022-07-18py/obj: Add debug-only runtime checks to mp_obj_is_type().Yonatan Goldschmidt
2022-07-18py/obj: Add static safety checks to mp_obj_is_type().Yonatan Goldschmidt
2022-06-20py/objcell: Make cell get/set funcs static-inline to reduce code size.Damien George
2022-06-02all: Remove third argument to MP_REGISTER_MODULE.Damien George
2022-06-02py: Change makemoduledefs process so it uses output of qstr extraction.Damien George
2022-05-03py/obj: Introduce mp_obj_malloc macro to allocate, and set object type.Jim Mussared
2022-02-24py: Rework bytecode and .mpy file format to be mostly static data.Damien George
2022-01-23py/modmath: Add math.tau, math.nan and math.inf constants.stijn
2021-11-22py/runtime: Allow types to use both .attr and .locals_dict.Laurens Valk
2021-07-15py/obj: Fix formatting of comment for mp_obj_is_integer.Damien George
2021-07-15py/objexcept: Make mp_obj_new_exception_arg1 inline.Damien George
2021-04-27py: Add option to compile without any error messages at all.Damien George
2020-10-10py/objdict: Add mp_const_empty_dict_obj, use it for mp_const_empty_map.Jim Mussared
2020-07-21py/obj.h: Fix mp_seq_replace_slice_no_grow to use memmove not memcpy.Damien George
2020-06-30py: Rework mp_convert_member_lookup to properly handle built-ins.Damien George
2020-06-30py/obj.h: Make existing MP_TYPE_FLAG_xxx macros sequential.Damien George
2020-06-27py/objcomplex: Add mp_obj_get_complex_maybe for use in complex bin-op.Damien George