Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-11-29 | py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR. | Damien George | |
This allows the mp_obj_t type to be configured to something other than a pointer-sized primitive type. This patch also includes additional changes to allow the code to compile when sizeof(mp_uint_t) != sizeof(void*), such as using size_t instead of mp_uint_t, and various casts. | |||
2015-04-29 | py: Fix attrtuple array length in print and creation. | Damien George | |
2015-04-29 | py: In attrtuple use the correct length value and index for 'fields'. | Daniel Campora | |
2015-04-21 | py: Add attrtuple object, for space-efficient tuples with attr access. | Damien George | |
If you need the functionality of a namedtuple but will only make 1 or a few instances, then use an attrtuple instead. |