Ray.Allen <ysj....@gmail.com> added the comment:

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.

----------
nosy: +ysj.ray

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue5412>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to