[issue5412] extend configparser to support mapping access(__*item__)

Łukasz Langa report at bugs.python.org
Thu Nov 11 16:21:43 CET 2010


Łukasz Langa <lukasz at langa.pl> added the comment:

Yup, most config parsers don't support that so there are not so many INI type files in the wild with this kind of formatting. On the other hand, Samba, XULRunner, mke2fs and others all use this.

I mean, you're not forced to use that ugly feature but it's good to have it exposed so people don't later say they knew not that it was possible.

Of course, I'm open for suggestions on better examples :)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5412>
_______________________________________


More information about the Python-bugs-list mailing list