[issue4831] exec() behavior - revisited
David M. Beazley
report at bugs.python.org
Sun Jan 4 16:18:53 CET 2009
David M. Beazley <beazley at users.sourceforge.net> added the comment:
One further followup just to make sure I'm clear.
Is it always safe to pass the result of locals() into exec and extract
the result as shown in my example?
Since I'm writing about this in a book, I just want to make absolutely
certain I know what's going on and that I don't tell people something
that's completely bogus.
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list