[Python-Dev] issue5578 - explanation (original) (raw)

Benjamin Peterson benjamin at python.org
Fri Apr 3 23:27:05 CEST 2009


2009/4/3 Chris Withers <chris at simplistix.co.uk>:

Guido van Rossum wrote:

But anyways this is moot, the bug was only about exec in a class body nested inside a function. Indeed, I just hate seeing execs and it was an interesting mental exercise to try and get rid of the above one ;-) Assuming it breaks no tests, would there be objection to me committing the above change to the Python 3 trunk? That's up to Benjamin. Personally, I live by "if it ain't broke, don't fix it." :-) Anything using an exec is broken by definition ;-)

"practicality beats purity"

Benjamin?

+0

-- Regards, Benjamin



More information about the Python-Dev mailing list