summaryrefslogtreecommitdiff
path: root/py/objtype.c
AgeCommit message (Expand)Author
8 dayspy/objtype: Add support for PEP487 __set_name__.Anson Mansfield
12 dayspy: Cast type names to qstr explicitly.Jeff Epler
2024-10-16py/objtype: Don't delegate lookup of descriptor methods to __getattr__.Damien George
2024-10-07py/objtype: Allow passing keyword arguments to native base __init__.stijn
2024-07-25py/objtype: Validate super() arguments.stijn
2024-07-25py/objtype: Avoid crash on calling members of uninitialized native type.Laurens Valk
2024-03-26py/makeqstrdata.py: Ensure that scope names get low qstr values.Jim Mussared
2024-03-07all: Remove the "STATIC" macro and just use "static" instead.Angus Gratton
2024-02-19py/obj: Change sizeof to offsetof in mp_obj_malloc_var macro.Damien George
2023-11-03py/misc: Change sizeof to offsetof for variable-length alloc.Jim Mussared
2023-06-01py: Change MP_UNARY_OP_INT to MP_UNARY_OP_INT_MAYBE.Damien George
2023-05-19py/runtime: If inplace binop fails then try corresponding normal binop.Damien George
2023-05-19py/obj: Remove mp_generic_unary_op().David Lechner
2023-04-27all: Fix spelling mistakes based on codespell check.Damien George
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/objtype: Optimise slot RAM usage for instance types.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-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-07-25py/obj: Add support for __float__ and __complex__ functions.Andrew Leech
2022-05-03all: Use mp_obj_malloc everywhere it's applicable.Jim Mussared
2022-04-20py/objtype: Convert result of user __contains__ method to bool.Jon Bjarni Bjarnason
2021-09-16py/vm: Add a fast path for LOAD_ATTR on instance types.Jim Mussared
2021-04-27py: Add option to compile without any error messages at all.Damien George
2020-10-10py/objtype: Handle __dict__ attribute when type has no locals.Jim Mussared
2020-06-24py/objtype: Support passing in an OrderedDict to type() as the locals.Damien George
2020-06-10py/objtype: Use mp_obj_dict_copy() for creating obj.__dict__ attribute.Andrew Leech
2020-06-10py/objtype: Add __dict__ attribute for class objects.Andrew Leech
2020-04-23all: Format code to add space after C++-style comment start.stijn
2020-04-13all: Clean up error strings to use lowercase and change cannot to can't.Damien George
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-21py/objtype: Allow mp_instance_cast_to_native_base to take native obj.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-30py/objtype: Make mp_obj_type_t.flags constants public, moved to obj.h.Damien George
2020-01-09py: Make mp_obj_get_type() return a const ptr to mp_obj_type_t.Damien George
2019-12-27py/runtime: Don't allocate iter buf for user-defined types.Damien George
2019-10-18py/objtype: Add type.__bases__ attribute.Josh Lloyd
2019-09-26py: Rename MP_QSTR_NULL to MP_QSTRnull to avoid intern collisions.Josh Lloyd
2019-09-26py: Add support for matmul operator @ as per PEP 465.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-02-06py: Update my copyright info on some files.Paul Sokolovsky
2018-12-07py/obj: Add support for __int__ special method.Paul Sokolovsky