[Python-ideas] namedtuple baseclass

Yury Selivanov yselivanov.ml at gmail.com
Sun Jan 12 01:40:44 CET 2014


Yeah, while I was working on the patch, I thought about rewriting it all
without the use of "exec".  But that would be too much of a change 10 days
before RC1. Therefore, the proposed change is minimal, aimed to only
slightly improve the current design.

Yury


On Sat, Jan 11, 2014 at 7:14 PM, João Bernardo <jbvsmo at gmail.com> wrote:

> 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/611db47e/attachment.html>


More information about the Python-ideas mailing list