On Tue, Mar 31, 2009 at 11:25 PM, Guido van Rossum <gu...@python.org> wrote: > Well hold on for a minute, I remember we used to have an exec > statement in a class body in the standard library, to define some file > methods in socket.py IIRC.
FYI, collections.namedtuple is also implemented using exec. - Alexandre _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com