Message185213
| Author | techtonik |
|---|---|
| Recipients | techtonik |
| Date | 2013-03-25.17:20:11 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1364232011.36.0.2936348393.issue17546@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
-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. |
|
| History | |||
|---|---|---|---|
| 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 | |