Message398426
Touche. Another advantage a namedtuple has is that it can expand out of the box - i.e., can write something like
> for x, y, z in namedtuple_list:
without any list comprehensions.
Can we bring those advantages into the dataclass while also preserving the interface? Maybe a special version of the implementation behind the scenes, something similar to what C++ does with bool vectors. |
|
Date |
User |
Action |
Args |
2021-07-28 21:31:17 | pavel-lexyr | set | recipients:
+ pavel-lexyr, rhettinger, eric.smith |
2021-07-28 21:31:17 | pavel-lexyr | set | messageid: <1627507877.16.0.921596467159.issue44768@roundup.psfhosted.org> |
2021-07-28 21:31:17 | pavel-lexyr | link | issue44768 messages |
2021-07-28 21:31:16 | pavel-lexyr | create | |
|