Message163098
I find the behavior inconsistent. As you can see from this example, the exec'uted code *does* call the instance's overloaded __getitem__ and __missing__ methods when outside a function, but doesn't when inside. |
|
Date |
User |
Action |
Args |
2012-06-18 12:34:28 | johnf | set | recipients:
+ johnf, mark.dickinson, docs@python |
2012-06-18 12:34:28 | johnf | set | messageid: <1340022868.32.0.436923241001.issue15099@psf.upfronthosting.co.za> |
2012-06-18 12:34:27 | johnf | link | issue15099 messages |
2012-06-18 12:34:27 | johnf | create | |
|