Jeff Epler
52540a9830
Rename EXTENDED_FIELDS -> MP_TYPE_EXTENDED_FIELDS
2021-07-12 06:57:59 -05:00
Jeff Epler
7302bc09a7
rename the type flag to EXTENDED for consistency
2021-07-09 14:59:37 -05:00
Jeff Epler
0d756066e8
milestone: coverage make test_full passes
2021-07-06 10:37:32 -05:00
Jeff Epler
df56ba207f
WIP
2021-07-06 09:25:56 -05:00
microDev
a52eb88031
run code formatting script
2021-03-15 19:27:36 +05:30
Diego Elio Pettenò
34b4993d63
Add license to some obvious files.
2020-07-06 19:16:25 +01:00
Alexander Steffen
55f33240f3
all: Use the name MicroPython consistently in comments
...
There were several different spellings of MicroPython present in comments,
when there should be only one.
2017-07-31 18:35:40 +10:00
Damien George
229823942c
py/objtuple: Convert mp_uint_t to size_t where appropriate.
2017-02-16 16:51:16 +11:00
Damien George
999cedb90f
py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR.
...
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-11-29 14:25:35 +00:00
Damien George
ad9daadf8a
py: Fix attrtuple array length in print and creation.
2015-04-29 00:17:48 +01:00
Daniel Campora
94792dd88f
py: In attrtuple use the correct length value and index for 'fields'.
2015-04-29 00:04:00 +02:00
Damien George
5aa311d330
py: Add attrtuple object, for space-efficient tuples with attr access.
...
If you need the functionality of a namedtuple but will only make 1 or a
few instances, then use an attrtuple instead.
2015-04-21 14:14:24 +00:00