[issue3974] collections.namedtuple uses exec to create new classes

Raymond Hettinger report at bugs.python.org
Wed Oct 1 18:22:26 CEST 2008


Raymond Hettinger <rhettinger at users.sourceforge.net> added the comment:

The current version is clear and maintainable.  There is nothing unholy
about using exec.  Earlier versions used other approaches and they
proved unnecessarily complex and had unexpected problems.  It is a key
feature for named tuples that they are exactly equivalent to a
hand-written class.

I appreciate your effort but am rejecting it flat-out.

----------
resolution:  -> rejected
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3974>
_______________________________________


More information about the Python-bugs-list mailing list