Message111799
| Author |
ysj.ray |
| Recipients |
BreamoreBoy, eric.araujo, jkaufman, lukasz.langa, michael.foord, ysj.ray |
| Date |
2010年07月28日.12:43:36 |
| SpamBayes Score |
0.043124788 |
| Marked as misclassified |
No |
| Message-id |
<1280321018.58.0.962416524016.issue5412@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
lukasz,
> - manipulation on the internal structures is much simpler when we have a single key like that. Having config['name'] return the section would make us create another proxy object just to support mutating keys in the section.
I'm afraid this could not be a good reason against the config['section']['key'] style. Since implementing this in python is not too difficult. For the more readability this style brings than config['section', 'key'], I think it's worthy. |
|