Author georg.brandl
Recipients beazley, georg.brandl
Date 2008-11-27.17:47:20
SpamBayes Score 0.000924537
Marked as misclassified No
Message-id <>
It is "valid" Python 3 and the lack of an effect on the local is correct.

From Python 3 on, "exec" is a function and therefore lacks the special
magic properties it had in Python 2 that made it possible execute the
code "as if it just was written there".

In effect, what exec() modifies here is similar to what locals()
returns: a mere copy of the local namespace.
Date User Action Args
2008-11-27 17:47:22georg.brandlsetrecipients: + georg.brandl, beazley
2008-11-27 17:47:21georg.brandlsetmessageid: <>
2008-11-27 17:47:21georg.brandllinkissue4447 messages
2008-11-27 17:47:20georg.brandlcreate