summaryrefslogtreecommitdiff
path: root/py/objnamedtuple.c
AgeCommit message (Expand)Author
13 dayspy: Cast type names to qstr explicitly.Jeff Epler
2024-03-07all: Remove the "STATIC" macro and just use "static" instead.Angus Gratton
2024-02-19py/obj: Change sizeof to offsetof in mp_obj_malloc_var macro.Damien George
2023-11-03py/misc: Change sizeof to offsetof for variable-length alloc.Jim Mussared
2022-09-19py/obj: Convert make_new into a mp_obj_type_t slot.Jim Mussared
2022-09-19py/obj: Merge getiter and iternext mp_obj_type_t slots.Jim Mussared
2022-09-19py/objnamedtuple: Optimise slot RAM usage for namedtuple.Jim Mussared
2022-09-19py/objtype: Optimise slot RAM usage for instance types.Jim Mussared
2022-09-19py/obj: Add accessors for type slots and use everywhere.Jim Mussared
2022-07-13py/objnamedtuple: Fix segfault with empty namedtuple.Lars Haulin
2021-04-27py: Add option to compile without any error messages at all.Damien George
2020-04-23all: Format code to add space after C++-style comment start.stijn
2020-04-05all: Use MP_ERROR_TEXT for all error messages.Jim Mussared
2020-04-05py: Use preprocessor to detect error reporting level (terse/detailed).Jim Mussared
2020-02-28all: Reformat C and Python source code with tools/codeformat.py.Damien George
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
2019-02-12py: Downcase all MP_OBJ_IS_xxx macros to make a more consistent C API.Damien George
2017-11-20py/objnamedtuple: Allow to reuse namedtuple basic functionality.Paul Sokolovsky
2017-11-12py/objnamedtuple: Add _asdict function if OrderedDict is supportedstijn
2017-10-04all: Remove inclusion of internal py header files.Damien George
2017-07-31all: Use the name MicroPython consistently in commentsAlexander Steffen
2017-06-29py/objnamedtuple: Simplify and remove use of alloca building namedtuple.Damien George
2017-04-12py: Optimise types for common case where type has a single parent type.Damien George
2017-03-29py: Convert mp_uint_t to size_t for tuple/list accessors.Damien George
2017-03-24py/objnamedtuple: Use size_t where appropriate, instead of mp_uint_t.Damien George
2016-10-17py: Use mp_raise_msg helper function where appropriate.Damien George
2016-05-23py/objnamedtuple: Allow passing field names as a tuple.Antonin ENFRUN
2016-03-14py: Fix passing of some wide int types to printf varg format list.Damien George
2016-01-11py: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*.Damien George
2016-01-11py: Change type of .make_new and .call args: mp_uint_t becomes size_t.Damien George
2015-11-29py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR.Damien George
2015-11-29py: Add MP_ROM_* macros and mp_rom_* types and use them.Damien George
2015-04-21py: Add attrtuple object, for space-efficient tuples with attr access.Damien George
2015-04-16py: Add %q format support to mp_[v]printf, and use it.Damien George
2015-04-16py: Overhaul and simplify printf/pfenv mechanism.Damien George
2015-04-11py: Combine load_attr and store_attr type methods into one (attr).Damien George
2015-03-23objnamedtuple: Accept field list as a string.Paul Sokolovsky
2015-03-22objnamedtuple: Check that 2nd arg to namedtuple() is a list.Paul Sokolovsky
2015-01-24py: Fix segfault in namedtuple when name is a non-interned stringstijn
2015-01-20py, unix: Allow to compile with -Wunused-parameter.Damien George
2015-01-01py: Move to guarded includes, everywhere in py/ core.Damien George
2015-01-01py: Change namedtuple error messages to reduce code size.Damien George
2015-01-01py: Make terse_arg_mismatch a global function and use it elsewhere.Damien George
2015-01-01objnamedtuple: Make sure to initialize type structure completely.Paul Sokolovsky
2015-01-01py: Allow keyword arguments for namedtuplestijn
2015-01-01py: Use sequence of strings for named tuple initializationstijn
2014-12-10py: Make functions static where appropriate.Damien George
2014-10-03py: Convert [u]int to mp_[u]int_t where appropriate.Damien George
2014-08-30Change some parts of the core API to use mp_uint_t instead of uint/int.Damien George