[Python-ideas] Add recordlcass to collections module

Robert Vanden Eynde robertve92 at gmail.com
Sat Sep 1 13:37:49 EDT 2018

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

Le sam. 1 sept. 2018 à 19:33, Jonathan Goble <jcgoble3 at gmail.com> a écrit :

> On Sat, Sep 1, 2018 at 1:08 PM Angus Hollands <goosey15 at gmail.com> wrote:
>> As to the other questions, yes, do we need another module in the standard
>> library?
> Wouldn't need a new module. This would be a perfect fit for the existing
> collections module where namedtuple already resides.
> I Googled "pypi namedlist", and the top three results were all other
> implementations of named lists or something similar:
> - namedlist <https://pypi.org/project/namedlist/>, which I have
> personally used and found extremely useful
> - list-property <https://pypi.org/project/list-property/>
> - mutabletuple <https://pypi.org/project/mutabletuple/>
> Clearly the concept is useful enough to have several competing
> implementations on PyPI, and to me that is a point in favor of picking an
> implementation and adding it to the stdlib as the one obvious way to do it.
> So +1 from me.
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> https://mail.python.org/mailman/listinfo/python-ideas
> Code of Conduct: http://python.org/psf/codeofconduct/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20180901/1918775b/attachment-0001.html>

More information about the Python-ideas mailing list