> > From: "Steven D'Aprano" <st...@pearwood.info> > To: python-ideas@python.org > Cc: > Bcc: > Date: Sat, 1 Sep 2018 18:25:21 +1000 > Subject: Re: [Python-ideas] Add recordlcass to collections module > On Sat, Sep 01, 2018 at 09:47:04AM +0200, Martin Bammer wrote: > > Hi, > > > > what about adding recordclass > > (https://bitbucket.org/intellimath/recordclass) to the collections > module > > The first thing you need to do is ask the author of that library whether > or not he or she is willing to donate the library to the Python stdlib, > which (among other things) means keeping to the same release schedule as > the rest of the stdlib. > > > > It is like namedtuple, but elements are writable and it is written in C > > and thus much faster. > > Faster than what? > > > > And for convenience it could be named as namedlist. > > Why? Is it a list? > > How or why is it better than dataclasses? > > > -- > Steve > > _______________________________________________ > Python-ideas mailing list > Python-ideas@python.org > https://mail.python.org/mailman/listinfo/python-ideas
It would need to be a list of the members are mutable. As to the other questions, yes, do we need another module in the standard library?Angus > >
_______________________________________________ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/