aboutsummaryrefslogtreecommitdiff
path: root/py/objtype.c
AgeCommit message (Expand)Author
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
2015-02-14py: Cleanup duplication in instance_is_callable/instance_call.stijn
2015-02-09py: Don't unnecessarily create a bound method.Damien George
2015-02-09py: Allow subclass of native object to delegate to the native buffer_p.Damien George
2015-02-08py: Fix instance lookup, since object is not a real type.Damien George
2015-01-31py: Add MICROPY_PY_ALL_SPECIAL_METHODS and __iadd__ special method under it.Paul Sokolovsky
2015-01-27py: Specify unary/binary op name in TypeError error message.Damien George
2015-01-20py: Use mp_arg_check_num in some _make_new functions.Damien George
2015-01-20py, unix: Allow to compile with -Wunused-parameter.Damien George
2015-01-11py: Remove unnecessary BINARY_OP_EQUAL code that just checks pointers.Damien George
2015-01-08tests: Add test for when instance member overrides class member.Damien George
2015-01-07py: Add option to cache map lookup results in bytecode.Damien George