[Python-ideas] namedtuple nit...

Chris Barker chris.barker at noaa.gov
Sat Jul 29 12:03:57 EDT 2017


On Sat, Jul 29, 2017 at 6:49 AM, Nick Coghlan <ncoghlan at gmail.com> wrote:

> It's possible to write builtin types that are truly immutable, and
> there are several examples of that (direct instances of object, tuple
> instances, instances of the builtin numeric types),


Maybe this is an argument for namedtuple to be a "proper" builtin.

Though, as the names have to be defined at run time, I suppose that isn't
possible.

-CHB


-- 

Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker at noaa.gov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20170729/8ddcf23c/attachment.html>


More information about the Python-ideas mailing list