[Python-Dev] issue5578 - explanation

Alexandre Vassalotti alexandre at peadrop.com
Sat Apr 4 00:53:18 CEST 2009


On Tue, Mar 31, 2009 at 11:25 PM, Guido van Rossum <guido at 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


More information about the Python-Dev mailing list