aboutsummaryrefslogtreecommitdiff
path: root/py/obj.h
AgeCommit message (Expand)Author
2022-05-03py/obj: Introduce mp_obj_malloc macro to allocate, and set object type.Jim Mussared
2022-02-24py: Rework bytecode and .mpy file format to be mostly static data.Damien George
2022-01-23py/modmath: Add math.tau, math.nan and math.inf constants.stijn
2021-11-22py/runtime: Allow types to use both .attr and .locals_dict.Laurens Valk
2021-07-15py/obj: Fix formatting of comment for mp_obj_is_integer.Damien George
2021-07-15py/objexcept: Make mp_obj_new_exception_arg1 inline.Damien George
2021-04-27py: Add option to compile without any error messages at all.Damien George
2020-10-10py/objdict: Add mp_const_empty_dict_obj, use it for mp_const_empty_map.Jim Mussared
2020-07-21py/obj.h: Fix mp_seq_replace_slice_no_grow to use memmove not memcpy.Damien George
2020-06-30py: Rework mp_convert_member_lookup to properly handle built-ins.Damien George
2020-06-30py/obj.h: Make existing MP_TYPE_FLAG_xxx macros sequential.Damien George
2020-06-27py/objcomplex: Add mp_obj_get_complex_maybe for use in complex bin-op.Damien George
2020-06-24py/obj.h: Add public mp_obj_is_dict_or_ordereddict() helper macro.Damien George
2020-06-10py/obj.h: Clarify comments about mp_map_t is_fixed and is_ordered.Damien George
2020-06-10py/objtype: Add __dict__ attribute for class objects.Andrew Leech
2020-04-27py/objdict: Fix popitem for ordered dicts.Jim Mussared
2020-04-18all: Fix implicit floating point promotion.stijn
2020-04-09py/objexcept: Remove optional TimeoutError exception.Damien George
2020-04-05py/objexcept: Allow compression of exception message text.Jim Mussared
2020-02-28all: Reformat C and Python source code with tools/codeformat.py.Damien George
2020-02-21py/objtype: Allow mp_instance_cast_to_native_base to take native obj.Damien George
2020-02-18py/objexcept: Rename mp_obj_new_exception_msg_varg2 to ..._vlist.Damien George
2020-02-13py/obj.h: Remove TODO idea comment about truncated mp_map_t.David Lechner
2020-02-13py: Add mp_raise_msg_varg helper and use it where appropriate.Damien George
2020-02-11py: Expand type equality flags to 3 separate ones, fix bool/namedtuple.Damien George
2020-01-30py: Support non-boolean results for equality and inequality tests.Nicko van Someren
2020-01-30py/objtype: Make mp_obj_type_t.flags constants public, moved to obj.h.Damien George
2020-01-24py/obj.h: Add and use mp_obj_is_bool() helper.Yonatan Goldschmidt
2020-01-14py/objint: Add mp_obj_int_get_uint_checked() helper.Yonatan Goldschmidt
2020-01-13py/obj: Add MICROPY_OBJ_IMMEDIATE_OBJS option to reduce code size.Damien George
2020-01-13py/obj.h: Redefine qstr object encoding to add immediate obj encoding.Damien George
2020-01-09py: Make mp_obj_get_type() return a const ptr to mp_obj_type_t.Damien George
2019-12-29py/objslice: Inline fetching of slice paramters in str_subscr().Nicko van Someren
2019-12-28py/objslice: Add support for indices() method on slice objects.Nicko van Someren
2019-12-27py/obj.h: Use 32-bit shift in MP_OBJ_NEW_QSTR calc for obj-repr D.Damien George
2019-12-27py: Introduce MP_ROM_FALSE/MP_ROM_TRUE for ROM to refer to bool objects.Damien George
2019-12-27py: Introduce MP_ROM_NONE macro for ROM to refer to None object.Damien George
2019-12-20py/obj.h: Remove comments about additional mp_buffer_info_t entries.Damien George
2019-11-26py: Remove 3 obsolete commented-out lines from header files.Damien George
2019-03-08py: Allow registration of modules at their definition.Andrew Leech
2019-03-08py: Add independent config for debugging sentinel object values.Damien George
2019-02-20py/objfun: Make fun_data arg of mp_obj_new_fun_asm() a const pointer.Damien George
2019-02-20py/obj.h: Remove obsolete mp_obj_new_fun_viper() declaration.Damien George
2019-02-12py: Downcase MP_xxx_SLOT_IS_FILLED inline functions.Damien George
2019-02-12py: Downcase all MP_OBJ_IS_xxx macros to make a more consistent C API.Damien George
2019-01-25py/obj.h: Explicitly cast args to uint32_t in MP_OBJ_FUN_MAKE_SIG.Damien George
2018-10-01py/obj.h: Use uint64_t instead of mp_int_t in repr-D MP_OBJ_IS_x macros.Damien George
2018-10-01py/emitnative: Implement yield and yield-from in native emitter.Damien George
2018-09-26py: Fix msvc C++ compiler warnings with MP_OBJ_FUN_MAKE_SIG macro.stijn
2018-09-14py: Optimise call to mp_arg_check_num by compressing fun signature.Damien George