[Python-Dev] issue5578 - explanation

Chris Withers chris at simplistix.co.uk
Wed Apr 1 14:12:41 CEST 2009

Guido van Rossum 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. 

But why an exec?! Surely there must be some other way to do this than an 


Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk

More information about the Python-Dev mailing list