Message84813
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. |
|
Date |
User |
Action |
Args |
2009-03-31 15:56:25 | jhylton | set | recipients:
+ jhylton, arigo, georg.brandl, josiahcarlson, nickjacobson, ajaksu2 |
2009-03-31 15:56:25 | jhylton | set | messageid: <1238514985.59.0.547244501238.issue991196@psf.upfronthosting.co.za> |
2009-03-31 15:56:24 | jhylton | link | issue991196 messages |
2009-03-31 15:56:24 | jhylton | create | |
|