[Python-Dev] PEP 3000 and exec

Brett Cannon bcannon at gmail.com
Tue Oct 11 02:53:18 CEST 2005

On 10/10/05, Greg Ewing <greg.ewing at canterbury.ac.nz> wrote:
> Brett Cannon wrote:
> > But the better answer is we will just find a way.  =)
> I think the best answer would be just to dump the idea of
> exec-in-local-namespace altogether. I don't think I've
> ever seen a use case for it that wasn't better done some
> other way.

I agree that 'exec' could really stand to be tweaked.  As it stands
now it is nasty to deal with when it comes to program analysis. 
Anything that will make that easier gets my vote.


More information about the Python-Dev mailing list