aboutsummaryrefslogtreecommitdiff
path: root/py/objtype.c
AgeCommit message (Expand)Author
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
2017-10-04py/objtype: Change type of enum-to-qstr table to uint16_t to save space.Damien George
2017-09-10py/runtime: Implement dispatch for "reverse op" special methods.Paul Sokolovsky
2017-09-07py/objtype: Make sure mp_binary_op_method_name has full size again.Paul Sokolovsky
2017-09-04py/objtype: Implement fallback for instance inplace special methods.Paul Sokolovsky
2017-08-31py/objtype: mp_obj_class_lookup: Improve debug logging.Paul Sokolovsky
2017-08-30py/objtype: mp_obj_instance_make_new: Fix typos in comment.Paul Sokolovsky
2017-08-30py/objtype: Handle NotImplemented return from binary special methods.Paul Sokolovsky
2017-08-29all: Convert mp_uint_t to mp_unary_op_t/mp_binary_op_t where appropriateDamien George
2017-08-15py: Add verbose debug compile-time flag MICROPY_DEBUG_VERBOSE.Stefan Naumann
2017-08-11py/modsys: Initial implementation of sys.getsizeof().Paul Sokolovsky
2017-07-31all: Use the name MicroPython consistently in commentsAlexander Steffen
2017-07-19all: Remove trailing spaces, per coding conventions.Damien George
2017-04-22py: Add LOAD_SUPER_METHOD bytecode to allow heap-free super meth calls.Damien George
2017-04-22py/objtype: mp_obj_new_super doesn't need to be public, so inline it.Damien George
2017-04-12py: Optimise types for common case where type has a single parent type.Damien George
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-24py/objtype: Use size_t where appropriate, instead of mp_uint_t or uint.Damien George
2017-02-16py: Add iter_buf to getiter type method.Damien George
2017-02-14py/objtype: Replace non-ASCII single-quote char with ASCII version.Damien George
2017-02-09py/objtype: Implement __delattr__ and __setattr__.dmazzella
2016-11-22py/objtype: Implement __call__ handling for an instance w/o heap alloc.Paul Sokolovsky
2016-10-17py: Use mp_raise_msg helper function where appropriate.Damien George
2016-06-19py/objtype: Inherit protocol vtable from base class only if it exists.Paul Sokolovsky
2016-06-19py/objtype: instance: Inherit protocol vtable from a base class.Paul Sokolovsky
2016-03-14py: When printf'ing an object as a pointer, pass the concrete pointer.Damien George
2016-01-11py: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*.Damien George
2016-01-11py: Change type of .make_new and .call args: mp_uint_t becomes size_t.Damien George
2016-01-03py: Implement __dict__ for instances.stijn
2015-11-29py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR.Damien George
2015-06-13py: Add MP_BINARY_OP_DIVMOD to simplify and consolidate divmod builtin.Damien George
2015-05-12py: Add mp_obj_get_int_truncated and use it where appropriate.Damien George
2015-05-12py: Convert hash API to use MP_UNARY_OP_HASH instead of ad-hoc function.Damien George