aboutsummaryrefslogtreecommitdiff
path: root/py/objtype.c
AgeCommit message (Expand)Author
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
2018-10-18py/objtype: Remove comment about catching exc from user __getattr__.Damien George
2018-09-28py/objtype: Support full object model for get/set/delitem special meths.Damien George
2018-09-28py/objtype: Remove TODO about storing attributes to classes.Damien George
2018-09-20py: Shorten error messages by using contractions and some rewording.Damien George
2018-09-20py/objtype: Clarify comment about configuring inplace op methods.Damien George
2018-08-02py: Fix compiling with debug enabled and make more use of DEBUG_printf.Damien George
2018-06-08py/objtype: Optimise instance get/set/del by skipping special accessors.Damien George
2018-06-08py/objtype: Don't expose mp_obj_instance_attr().Damien George
2018-05-30py/objtype: Fix assertion failures in super_attr by checking type.Jeff Epler
2018-05-30py/objtype: Fix assertion failures in mp_obj_new_type by checking types.Jeff Epler
2018-05-25py/objtype: Remove TODO comment about needing to check for property.Damien George
2018-02-07py/objtype: Check and prevent delete/store on a fixed locals map.Damien George
2017-12-12py/objtype: Refactor object's handling of __new__ to not create 2 objs.Damien George
2017-12-12py/objtype: Implement better support for overriding native's __init__.Damien George
2017-11-24py/runtime: Add MP_BINARY_OP_CONTAINS as reverse of MP_BINARY_OP_IN.Damien George
2017-11-20py: Add config option to disable multiple inheritance.Damien George
2017-11-11py/objtype: mp_obj_new_type: Name base types related vars more clearly.Paul Sokolovsky
2017-10-27py/objtype: Introduce MICROPY_PY_ALL_INPLACE_SPECIAL_METHODS.Paul Sokolovsky
2017-10-27py/objtype: Define all special methods if requested.Paul Sokolovsky
2017-10-21py/objtype: Fit qstrs for special methods in byte type.Paul Sokolovsky
2017-10-19py/objtype: Use CPython compatible method name for sizeof.Paul Sokolovsky
2017-10-05py/objtype: Clean up unary- and binary-op enum-to-qstr mapping tables.Damien George
2017-10-04all: Remove inclusion of internal py header files.Damien George