[issue44768] dataclasses.dataclass and collections.namedtuple do the same thing

Eric V. Smith report at bugs.python.org
Wed Jul 28 17:24:57 EDT 2021


Eric V. Smith <eric at trueblade.com> added the comment:

namedtuples have features like true immutability, being smaller, and being faster.

----------
versions:  -Python 3.10, Python 3.6, Python 3.7, Python 3.8, Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44768>
_______________________________________


More information about the Python-bugs-list mailing list