aboutsummaryrefslogtreecommitdiff
path: root/py/objtype.c
AgeCommit message (Expand)Author
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
2015-01-01py: Move to guarded includes, everywhere in py/ core.Damien George
2014-12-28showbc: Print operation mnemonic in BINARY_OP.Paul Sokolovsky
2014-11-06py: Use shorter, static error msgs when ERROR_REPORTING_TERSE enabled.Damien George
2014-11-05py: Fix some macros defines; cleanup some includes.Damien George
2014-11-03py: Explicitly set uninitialised struct member to false.Damien George
2014-11-03py: Fix builtin callable so it checks user-defined instances correctly.Damien George
2014-10-23py: Use MP_OBJ_NULL instead of NULL in a few places.Damien George
2014-08-30py: Make tuple and list use mp_int_t/mp_uint_t.Damien George
2014-08-30Change some parts of the core API to use mp_uint_t instead of uint/int.Damien George
2014-08-26py: Add dispatch for user defined ==, >, <=, >=.Damien George
2014-08-24py: Fix bug where GC collected native/viper/asm function data.Damien George
2014-07-05py: Automatically ake __new__ a staticmethod.Damien George