Message224120
I can reproduce your example on 3.4, but for the comparison:
>>> exec(compile("if __debug__: print(42)", "exec", "exec", optimize=1))
>>> exec(compile("if __debug__: print(42)", "exec", "exec", optimize=0))
42
So, it's not as straightforward as one might imagine. |
|
Date |
User |
Action |
Args |
2014-07-27 11:43:17 | SilentGhost | set | recipients:
+ SilentGhost, arigo |
2014-07-27 11:43:17 | SilentGhost | set | messageid: <1406461397.68.0.610601563914.issue22091@psf.upfronthosting.co.za> |
2014-07-27 11:43:17 | SilentGhost | link | issue22091 messages |
2014-07-27 11:43:17 | SilentGhost | create | |
|