388 Commits (fe16e785fe76ca2c84b82512c427c7fa57176abe)

Author SHA1 Message Date
Jim Mussared 880875bea1 py/objdict: Add mp_const_empty_dict_obj, use it for mp_const_empty_map. 4 years ago
Damien George a853fff838 py/obj.h: Fix mp_seq_replace_slice_no_grow to use memmove not memcpy. 4 years ago
Damien George 332d83343f py: Rework mp_convert_member_lookup to properly handle built-ins. 4 years ago
Damien George d06ae1d2b1 py/obj.h: Make existing MP_TYPE_FLAG_xxx macros sequential. 4 years ago
Damien George 9f911d822e py/objcomplex: Add mp_obj_get_complex_maybe for use in complex bin-op. 4 years ago
Damien George 456a3abe8d py/obj.h: Add public mp_obj_is_dict_or_ordereddict() helper macro. 4 years ago
Damien George f3062b5cbd py/obj.h: Clarify comments about mp_map_t is_fixed and is_ordered. 4 years ago
Andrew Leech 28370c0450 py/objtype: Add __dict__ attribute for class objects. 4 years ago
Jim Mussared 57fce3bdb2 py/objdict: Fix popitem for ordered dicts. 5 years ago
stijn 0ba68f8a1d all: Fix implicit floating point promotion. 5 years ago
Damien George e292296d52 py/objexcept: Remove optional TimeoutError exception. 5 years ago
Jim Mussared 85858e72df py/objexcept: Allow compression of exception message text. 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 1fccda049f py/objexcept: Rename mp_obj_new_exception_msg_varg2 to ..._vlist. 5 years ago
David Lechner f020eac6a8 py/obj.h: Remove TODO idea comment about truncated mp_map_t. 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
Yonatan Goldschmidt d9433d3e94 py/obj.h: Add and use mp_obj_is_bool() helper. 5 years ago
Yonatan Goldschmidt 176ab99180 py/objint: Add mp_obj_int_get_uint_checked() helper. 5 years ago
Damien George d96cfd13e3 py/obj: Add MICROPY_OBJ_IMMEDIATE_OBJS option to reduce code size. 5 years ago
Damien George 6f0c83f6e1 py/obj.h: Redefine qstr object encoding to add immediate obj encoding. 5 years ago
Damien George bfbd94401d py: Make mp_obj_get_type() return a const ptr to mp_obj_type_t. 5 years ago
Nicko van Someren 10709846f3 py/objslice: Inline fetching of slice paramters in str_subscr(). 5 years ago
Nicko van Someren 4c93955b7b py/objslice: Add support for indices() method on slice objects. 5 years ago
Damien George d56bc6e03d py/obj.h: Use 32-bit shift in MP_OBJ_NEW_QSTR calc for obj-repr D. 5 years ago
Damien George d97b40bdaa py: Introduce MP_ROM_FALSE/MP_ROM_TRUE for ROM to refer to bool objects. 5 years ago
Damien George 09376f0e47 py: Introduce MP_ROM_NONE macro for ROM to refer to None object. 5 years ago
Damien George 5e431188db py/obj.h: Remove comments about additional mp_buffer_info_t entries. 5 years ago
Damien George 01e5802ee3 py: Remove 3 obsolete commented-out lines from header files. 5 years ago
Andrew Leech cf22f4793c py: Allow registration of modules at their definition. 6 years ago
Damien George 02cc288edb py: Add independent config for debugging sentinel object values. 6 years ago
Damien George 7bc71f5446 py/objfun: Make fun_data arg of mp_obj_new_fun_asm() a const pointer. 6 years ago
Damien George bf352047de py/obj.h: Remove obsolete mp_obj_new_fun_viper() declaration. 6 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
Damien George 5089b3ffb6 py/obj.h: Explicitly cast args to uint32_t in MP_OBJ_FUN_MAKE_SIG. 6 years ago
Damien George 69e7903904 py/obj.h: Use uint64_t instead of mp_int_t in repr-D MP_OBJ_IS_x macros. 6 years ago
Damien George cc2bd63c57 py/emitnative: Implement yield and yield-from in native emitter. 6 years ago
stijn 57a7d5be9a py: Fix msvc C++ compiler warnings with MP_OBJ_FUN_MAKE_SIG macro. 6 years ago
Damien George 9f241ef398 py: Optimise call to mp_arg_check_num by compressing fun signature. 6 years ago
Damien George 4a1edd8382 py/obj.h: Give compile error if using obj repr D with single-prec float. 6 years ago
Damien George 4cd853fbd2 py/objmodule: Make mp_obj_module_get_globals an inline function. 6 years ago
Damien George d9cdb880ff py/objdict: Make mp_obj_dict_get_map an inline function. 6 years ago
Nicko van Someren d66c33cbd6 py/obj.h: Fix broken build for object repr C when float disabled. 6 years ago
Damien George b488a4a848 py/objgenerator: Eliminate need for mp_obj_gen_wrap wrapper instances. 6 years ago
Damien George db5d8c97f1 py/obj.h: Introduce a "flags" entry in mp_obj_type_t. 7 years ago
Damien George 1427f8f593 py/stream: Move definition of mp_stream_p_t from obj.h to stream.h. 7 years ago