[Python-ideas] namedtuple baseclass

João Bernardo jbvsmo at gmail.com
Sun Jan 12 01:14:29 CET 2014


I never liked this implementation of namedtuple with "exec". I remember
some proposals
(and even a working implementation) of namedtuple done with metaclasses. I
Don't remember
why they were rejected.

I think at least having a base class other than tuple is something useful.

+1


João Bernardo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20140111/fa04656a/attachment.html>


More information about the Python-ideas mailing list