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@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