[Python-ideas] namedtuple literals [Was: RE a new namedtuple]

Guido van Rossum guido at python.org
Fri Jul 21 11:18:09 EDT 2017


Honestly I would like to declare the bare (x=1, y=0) proposal dead. Let's
encourage the use of objects rather than tuples (named or otherwise) for
most data exchanges. I know of a large codebase that uses dicts instead of
objects, and it's a mess. I expect the bare ntuple to encourage the same
chaos.

-- 
--Guido van Rossum (python.org/~guido)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20170721/032deca8/attachment.html>


More information about the Python-ideas mailing list