[issue9870] compile and nested scopes

Georg Brandl report at bugs.python.org
Thu Sep 16 19:31:27 CEST 2010


Georg Brandl <georg at python.org> added the comment:

If you want to execute code as in the global namespace, don't supply a separate "locals" dict to eval/exec.

----------
nosy: +georg.brandl
resolution:  -> invalid
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9870>
_______________________________________


More information about the Python-bugs-list mailing list