aboutsummaryrefslogtreecommitdiff
path: root/py/objtype.c
AgeCommit message (Expand)Author
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
2015-05-04py: Check that arg to object.__new__ is a user-defined type.Damien George
2015-04-16py: Add %q format support to mp_[v]printf, and use it.Damien George
2015-04-16py: Overhaul and simplify printf/pfenv mechanism.Damien George
2015-04-11py: Combine load_attr and store_attr type methods into one (attr).Damien George
2015-04-04py: Implement delete for property and descriptors.Damien George
2015-04-04py: Some trivial cosmetic changes, for code style consistency.Damien George
2015-03-31objtype: Add special unary methods __pos__, __neg__, __invert__.Paul Sokolovsky
2015-03-26py: Add optional support for descriptors' __get__ and __set__ methods.stijn
2015-03-21py: Combine duplicated code that converts members from a lookup.Damien George
2015-03-20objtype: More comment clarification for attribute lookup.Paul Sokolovsky
2015-03-17objtype: Clarify comment why we call mp_load_method_maybe() for native sub-obj.Paul Sokolovsky
2015-03-16objtype: Refactor dealing with native sub-objects for clarity.Paul Sokolovsky
2015-03-16objtype: mp_obj_class_lookup: Remove implausible condition.Paul Sokolovsky
2015-03-16objtype: Clarify comment for mp_obj_class_lookup().Paul Sokolovsky
2015-03-16objtype: Clarify code by consistently using common subexpression.Paul Sokolovsky
2015-02-22py: Add few more special methods.Paul Sokolovsky
2015-02-15py: Simplify and remove redundant code for __iter__ method lookup.Damien George