[Python-ideas] Add recordlcass to collections module

Jonathan Goble jcgoble3 at gmail.com
Sat Sep 1 13:44:18 EDT 2018


On Sat, Sep 1, 2018 at 1:38 PM Robert Vanden Eynde <robertve92 at gmail.com>
wrote:

> What's the difference between you proposition and dataclasses ? Introduced
> in Python 3.7 ?
>

A named list would allow sequence operations such as iteration.
Dataclasses, IIUC, do not support sequence operations.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20180901/4552b433/attachment.html>


More information about the Python-ideas mailing list