22 Commits (d4b55eff44da38e51616124883508c0d6b6678d3)

Author SHA1 Message Date
Damien George c78ef92d78 py/objtype: Refactor object's handling of __new__ to not create 2 objs. 7 years ago
Alexander Steffen 55f33240f3 all: Use the name MicroPython consistently in comments 7 years ago
Damien George 94c41bb06f py: Use mp_raise_TypeError/mp_raise_ValueError helpers where possible. 8 years ago
Damien George 7d0d7215d2 py: Use mp_raise_msg helper function where appropriate. 8 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
Damien George 999cedb90f py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR. 9 years ago
Damien George cbf7674025 py: Add MP_ROM_* macros and mp_rom_* types and use them. 9 years ago
Kaspar Schleiser b5cef5c7ea py/objobject: Don't make locals_dict if there's nothing to go in it. 10 years ago
Damien George 47b9809d23 py: Check that arg to object.__new__ is a user-defined type. 10 years ago
Damien George 50149a5730 py: Use mp_arg_check_num in some _make_new functions. 10 years ago
Damien George ff8dd3f486 py, unix: Allow to compile with -Wunused-parameter. 10 years ago
Damien George 51dfcb4bb7 py: Move to guarded includes, everywhere in py/ core. 10 years ago
Damien George ecc88e949c Change some parts of the core API to use mp_uint_t instead of uint/int. 10 years ago
Paul Sokolovsky 806ea1f6ca py: Initial attempts to actually allow implementing __new__ in Python. 11 years ago
Paul Sokolovsky 0c937fa25a objobject: Fix arguments to __init__(). 11 years ago
Paul Sokolovsky a8408a8abe objtype: super: Fall back to "object" lookup as last resort. 11 years ago
Damien George 04b9147e15 Add license header to (almost) all files. 11 years ago
Paul Sokolovsky f54bcbf099 py, unix: Make "mpconfig.h" be first included, as other headers depend on it. 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
Damien George 3ec0a1a32d py: Add 'object' object. 11 years ago