90 Commits (86de21b810693bccdd88d53aacb6d8acf26f09e0)

Author SHA1 Message Date
Damien George 0182385ab0 py: Automatically ake __new__ a staticmethod. 10 years ago
Damien George 40f3c02682 Rename machine_(u)int_t to mp_(u)int_t. 11 years ago
Damien George 58cbb4d661 py: Implement __contains__ special method. 11 years ago
Paul Sokolovsky 195de3247b objtype: Fix passing of class param to inherited classmethods. 11 years ago
Paul Sokolovsky 639863d36e objtype: Optimize stack usage mp_obj_class_lookup(). 11 years ago
Paul Sokolovsky 5473f743f3 objtype: Enable __lt__ method support for instances. 11 years ago
Chris Angelico daf973ae00 Change comments (mainly URLs) to no longer specifically say Python 3.3 11 years ago
Damien George 3f52262465 py: Allow tail call optimisation in mp_call_function_n_kw. 11 years ago
Damien George fb510b3bf9 Rename bultins config variables to MICROPY_PY_BUILTINS_*. 11 years ago
Damien George ee3fd46f13 Rename configuration variables controling Python features. 11 years ago
Paul Sokolovsky 806ea1f6ca py: Initial attempts to actually allow implementing __new__ in Python. 11 years ago
Paul Sokolovsky a8408a8abe objtype: super: Fall back to "object" lookup as last resort. 11 years ago
Paul Sokolovsky 6a410789b8 objtype: super: Add stop condition for looking up in base types. 11 years ago
Damien George 6ac5dced24 py: Rename MP_OBJ_NOT_SUPPORTED to MP_OBJ_NULL. 11 years ago
Paul Sokolovsky 13684fd60b objtype: Separate __new__ and __init__ methods. 11 years ago
Paul Sokolovsky da9f0924ef py, unix: Add copyright for modules I worked closely on. 11 years ago
Damien George ee7a880d6e py: Use mp_arg_check_num in more places. 11 years ago
Paul Sokolovsky ea9708092e objtuple: Go out of the way to support comparison of subclasses. 11 years ago
Paul Sokolovsky 9511f60f01 py: Don't try to "bind" types store as attributes of objects. 11 years ago
Paul Sokolovsky aa4d19a05c objtype: Comments for duplicating code in runtime.c. 11 years ago
Paul Sokolovsky 1a7403bb74 objtype: Implement ->getiter() method for instances. 11 years ago
Paul Sokolovsky d86020ac4f objtype: Don't treat inheritance from "object" as from native type. 11 years ago
Damien George d0a5bf34f7 py: Tidy up returning NULL which should be MP_OBJ_NOT_SUPPORTED. 11 years ago
Damien George 04b9147e15 Add license header to (almost) all files. 11 years ago
Damien George 9c5fc83e6a py, objtype.c: Rename class_ to instance_ following change of typedef. 11 years ago
Paul Sokolovsky f54bcbf099 py, unix: Make "mpconfig.h" be first included, as other headers depend on it. 11 years ago
Paul Sokolovsky e0954d426f objtype: Work around stupid strict aliasing check. 11 years ago
Paul Sokolovsky 0a7e01ae3c objtype: Rename mp_obj_class_t -> mp_obj_instance_t and move to local header. 11 years ago
Paul Sokolovsky d8351ca8a0 objtype: .print() Exception instances in adhoc way. 11 years ago
Paul Sokolovsky 7f0419c0e5 objtype: Support calling normal methods inherited from native base class. 11 years ago
Paul Sokolovsky 443857de98 objtype: Add support for looking up non-method attrs in native base class. 11 years ago
Paul Sokolovsky 6ead0d2fbc objtype: Implement basic framework for subclassing native types. 11 years ago
Paul Sokolovsky 755565d2cb py: Support instance __call__ method. 11 years ago
Damien George 806f4aef9a py: Fix super() bug, where it didn't allow instance access. 11 years ago
Damien George ea8d06c39d py: Add MP_OBJ_STOP_ITERATION and make good use of it. 11 years ago
Damien George 729f7b42d6 py: Merge BINARY_OP_SUBSCR and store_subscr (w/ delete) into subscr. 11 years ago
Paul Sokolovsky 75ffcaeace py: Implement __delitem__ method for classes. 11 years ago
Damien George 777b0f32f4 py: Add property object, with basic functionality. 11 years ago
Damien George f4c9b33abf py: Remove DELETE_SUBSCR opcode, combine with STORE_SUBSCR. 11 years ago
Damien George 1d24ea5207 py: Finish implementation of all del opcodes. 11 years ago
Damien George 17520224fa py: Make all objects and instances derive from object. 11 years ago
Damien George ea13f407a3 py: Change nlr_jump to nlr_raise, to aid in debugging. 11 years ago
Paul Sokolovsky 438d504e27 objtype: Add equality test for type types. 11 years ago
Damien George 93b7faa29a py: Factor out static/class method unwrapping code; add tests. 11 years ago
Damien George e44d26ae0c py: Implement __getattr__. 11 years ago
Paul Sokolovsky b509f73982 objtype: Wrap .__name__ handling in MICROPY_CPYTHON_COMPAT. 11 years ago
Paul Sokolovsky e566670153 objtype: Add virtual __name__ attribute. 11 years ago
Damien George df6567e634 Merge map.h into obj.h. 11 years ago
Damien George d17926db71 Rename rt_* to mp_*. 11 years ago
Damien George 3e1a5c10c5 py: Rename old const type objects to mp_type_* for consistency. 11 years ago