[Python-ideas] Add recordlcass to collections module
goosey15 at gmail.com
Sat Sep 1 13:08:06 EDT 2018
> From: "Steven D'Aprano" <steve at pearwood.info>
> To: python-ideas at python.org
> 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
> 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?
> Python-ideas mailing list
> Python-ideas at python.org
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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-ideas