178 Commits (bace1a16d056cc755f12f525b9f2bfb3cb4b4b50)

Author SHA1 Message Date
Damien George bace1a16d0 py/objtype: Don't expose mp_obj_instance_attr(). 7 years ago
Jeff Epler c60589c02b py/objtype: Fix assertion failures in super_attr by checking type. 7 years ago
Jeff Epler 05b13fd292 py/objtype: Fix assertion failures in mp_obj_new_type by checking types. 7 years ago
Damien George dfeaea1441 py/objtype: Remove TODO comment about needing to check for property. 7 years ago
Damien George b45c8c17f0 py/objtype: Check and prevent delete/store on a fixed locals map. 7 years ago
Damien George c78ef92d78 py/objtype: Refactor object's handling of __new__ to not create 2 objs. 7 years ago
Damien George d32d22dfd7 py/objtype: Implement better support for overriding native's __init__. 7 years ago
Damien George 5e34a113ea py/runtime: Add MP_BINARY_OP_CONTAINS as reverse of MP_BINARY_OP_IN. 7 years ago
Damien George da154fdaf9 py: Add config option to disable multiple inheritance. 8 years ago
Paul Sokolovsky cada971113 py/objtype: mp_obj_new_type: Name base types related vars more clearly. 7 years ago
Paul Sokolovsky 0e80f345f8 py/objtype: Introduce MICROPY_PY_ALL_INPLACE_SPECIAL_METHODS. 7 years ago
Paul Sokolovsky 9b9dbc5815 py/objtype: Define all special methods if requested. 7 years ago
Paul Sokolovsky 9956fd0710 py/objtype: Fit qstrs for special methods in byte type. 7 years ago
Paul Sokolovsky f2baa9ec24 py/objtype: Use CPython compatible method name for sizeof. 7 years ago
Damien George 36f7952f76 py/objtype: Clean up unary- and binary-op enum-to-qstr mapping tables. 7 years ago
Damien George a3dc1b1957 all: Remove inclusion of internal py header files. 7 years ago
Damien George 6c82cfc089 py/objtype: Change type of enum-to-qstr table to uint16_t to save space. 7 years ago
Paul Sokolovsky eb84a830df py/runtime: Implement dispatch for "reverse op" special methods. 7 years ago
Paul Sokolovsky 6d4cac088e py/objtype: Make sure mp_binary_op_method_name has full size again. 7 years ago
Paul Sokolovsky 60749e57f2 py/objtype: Implement fallback for instance inplace special methods. 7 years ago
Paul Sokolovsky 4556bd2acd py/objtype: mp_obj_class_lookup: Improve debug logging. 7 years ago
Paul Sokolovsky df6605eaba py/objtype: mp_obj_instance_make_new: Fix typos in comment. 7 years ago
Paul Sokolovsky 784909ce16 py/objtype: Handle NotImplemented return from binary special methods. 7 years ago
Damien George 58321dd985 all: Convert mp_uint_t to mp_unary_op_t/mp_binary_op_t where appropriate 7 years ago
Stefan Naumann ace9fb5405 py: Add verbose debug compile-time flag MICROPY_DEBUG_VERBOSE. 7 years ago
Paul Sokolovsky bfc2092dc5 py/modsys: Initial implementation of sys.getsizeof(). 7 years ago
Alexander Steffen 55f33240f3 all: Use the name MicroPython consistently in comments 7 years ago
Damien George 761e4c7ff6 all: Remove trailing spaces, per coding conventions. 7 years ago
Damien George dd11af209d py: Add LOAD_SUPER_METHOD bytecode to allow heap-free super meth calls. 8 years ago
Damien George 4df013c8cc py/objtype: mp_obj_new_super doesn't need to be public, so inline it. 8 years ago
Damien George 816413e4b2 py: Optimise types for common case where type has a single parent type. 8 years ago
Damien George 6213ad7f46 py: Convert mp_uint_t to size_t for tuple/list accessors. 8 years ago
Damien George 94c41bb06f py: Use mp_raise_TypeError/mp_raise_ValueError helpers where possible. 8 years ago
Damien George d1b93ced78 py/objtype: Use size_t where appropriate, instead of mp_uint_t or uint. 8 years ago
Damien George ae8d867586 py: Add iter_buf to getiter type method. 9 years ago
Damien George adc80b8f84 py/objtype: Replace non-ASCII single-quote char with ASCII version. 8 years ago
dmazzella 18e6569166 py/objtype: Implement __delattr__ and __setattr__. 8 years ago
Paul Sokolovsky 037e6912c6 py/objtype: Implement __call__ handling for an instance w/o heap alloc. 8 years ago
Damien George 7d0d7215d2 py: Use mp_raise_msg helper function where appropriate. 8 years ago
Paul Sokolovsky c7fba524cb py/objtype: Inherit protocol vtable from base class only if it exists. 9 years ago
Paul Sokolovsky 413c3e10b4 py/objtype: instance: Inherit protocol vtable from a base class. 9 years ago
Damien George 0be6359f39 py: When printf'ing an object as a pointer, pass the concrete pointer. 9 years ago
Damien George 5b3f0b7f39 py: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*. 9 years ago
Damien George a0c97814df py: Change type of .make_new and .call args: mp_uint_t becomes size_t. 9 years ago
stijn 3c014a67ea py: Implement __dict__ for instances. 10 years ago
Damien George 999cedb90f py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR. 9 years ago
Damien George c5029bcbf3 py: Add MP_BINARY_OP_DIVMOD to simplify and consolidate divmod builtin. 10 years ago
Damien George c50772d19f py: Add mp_obj_get_int_truncated and use it where appropriate. 10 years ago
Damien George c2a4e4effc py: Convert hash API to use MP_UNARY_OP_HASH instead of ad-hoc function. 10 years ago
Damien George 47b9809d23 py: Check that arg to object.__new__ is a user-defined type. 10 years ago