210 Commits (752fe759104172af2e8cbd7a3713b29134bd5a7f)

Author SHA1 Message Date
Jim Mussared 7b89ad8dbf py/vm: Add a fast path for LOAD_ATTR on instance types. 3 years ago
Damien George d4b706c4d0 py: Add option to compile without any error messages at all. 4 years ago
Jim Mussared b137d064e9 py/objtype: Handle __dict__ attribute when type has no locals. 4 years ago
Damien George 457fdf61c3 py/objtype: Support passing in an OrderedDict to type() as the locals. 4 years ago
Andrew Leech 95cbe6b65e py/objtype: Use mp_obj_dict_copy() for creating obj.__dict__ attribute. 4 years ago
Andrew Leech 28370c0450 py/objtype: Add __dict__ attribute for class objects. 4 years ago
stijn 84fa3312cf all: Format code to add space after C++-style comment start. 5 years ago
Damien George 8e048d2548 all: Clean up error strings to use lowercase and change cannot to can't. 5 years ago
Jim Mussared def76fe4d9 all: Use MP_ERROR_TEXT for all error messages. 5 years ago
Jim Mussared a9a745e4b4 py: Use preprocessor to detect error reporting level (terse/detailed). 5 years ago
Damien George 69661f3343 all: Reformat C and Python source code with tools/codeformat.py. 5 years ago
Damien George 9344e876bb py/objtype: Allow mp_instance_cast_to_native_base to take native obj. 5 years ago
Damien George ad7213d3c3 py: Add mp_raise_msg_varg helper and use it where appropriate. 5 years ago
Damien George 9ec1caf42e py: Expand type equality flags to 3 separate ones, fix bool/namedtuple. 5 years ago
Nicko van Someren 3aab54bf43 py: Support non-boolean results for equality and inequality tests. 5 years ago
Damien George c3450effd4 py/objtype: Make mp_obj_type_t.flags constants public, moved to obj.h. 5 years ago
Damien George bfbd94401d py: Make mp_obj_get_type() return a const ptr to mp_obj_type_t. 5 years ago
Damien George aacd618939 py/runtime: Don't allocate iter buf for user-defined types. 5 years ago
Josh Lloyd 8f9e2e325a py/objtype: Add type.__bases__ attribute. 5 years ago
Josh Lloyd 7d58a197cf py: Rename MP_QSTR_NULL to MP_QSTRnull to avoid intern collisions. 5 years ago
Damien George 2069c563f9 py: Add support for matmul operator @ as per PEP 465. 5 years ago
Damien George 054dd33eba py: Downcase MP_xxx_SLOT_IS_FILLED inline functions. 6 years ago
Damien George eee1e8841a py: Downcase all MP_OBJ_IS_xxx macros to make a more consistent C API. 6 years ago
Paul Sokolovsky 8fea833e3f py: Update my copyright info on some files. 6 years ago
Paul Sokolovsky b1d08726ee py/obj: Add support for __int__ special method. 6 years ago
Damien George 7eb29c2000 py/objtype: Remove comment about catching exc from user __getattr__. 6 years ago
Damien George dd288904db py/objtype: Support full object model for get/set/delitem special meths. 6 years ago
Damien George 2eb0170157 py/objtype: Remove TODO about storing attributes to classes. 6 years ago
Damien George b01f66c5f1 py: Shorten error messages by using contractions and some rewording. 6 years ago
Damien George 0a36a80f96 py/objtype: Clarify comment about configuring inplace op methods. 6 years ago
Damien George b630dfcc1d py: Fix compiling with debug enabled and make more use of DEBUG_printf. 6 years ago
Damien George 36c1052183 py/objtype: Optimise instance get/set/del by skipping special accessors. 7 years ago
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