This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jhylton
Recipients ajaksu2, arigo, georg.brandl, jhylton, josiahcarlson, nickjacobson
Date 2009-03-31.15:56:24
SpamBayes Score 8.7875554e-07
Marked as misclassified No
Message-id <1238514985.59.0.547244501238.issue991196@psf.upfronthosting.co.za>
In-reply-to
Content
This code behaves as intended.  The module-level execution environment
is different than other environments.  The global scope and local scope
are the same dictionary.  Assignments at the top-level become globals
because of this behavior of the execution environment.  If you want exec
to mimic the top-level environment, you need to pass it a single dictionary.
History
Date User Action Args
2009-03-31 15:56:25jhyltonsetrecipients: + jhylton, arigo, georg.brandl, josiahcarlson, nickjacobson, ajaksu2
2009-03-31 15:56:25jhyltonsetmessageid: <1238514985.59.0.547244501238.issue991196@psf.upfronthosting.co.za>
2009-03-31 15:56:24jhyltonlinkissue991196 messages
2009-03-31 15:56:24jhyltoncreate