Message185213
-locals() returns object that does't walk like a duck.
+locals() returns object that does't work like a dict.
Much of the confusion with locals() comes from the fact that returned object is labelled a dict, but this heisendict changes its behavior when you're trying to introspect it. So, to give users a hint that this object is different, I propose to rename it to a different type and supply an appropriate help() for it. |
|
Date |
User |
Action |
Args |
2013-03-25 17:20:11 | techtonik | set | recipients:
+ techtonik |
2013-03-25 17:20:11 | techtonik | set | messageid: <1364232011.36.0.2936348393.issue17546@psf.upfronthosting.co.za> |
2013-03-25 17:20:11 | techtonik | link | issue17546 messages |
2013-03-25 17:20:11 | techtonik | create | |
|