[Python-ideas] Have ConfigParser handle sectionless config files by default

Kernc kerncece at gmail.com
Mon Sep 8 16:49:55 CEST 2014


Hi all,

I recently opened this bug report [1] stating that ConfigParser not
handling configuration files without sections (or those that have options
above first section definition) is an issue.

ConfigParser* should be able to parse "POSIX" config files (key=value, no
sections).

I'd like to lobby even for it being the default behavior without requiring
a strict=False argument. If interested, please have a look at the bug
report for some further arguments.

Thanks,

[1]: http://bugs.python.org/issue22253

* It's called ConfigParser, not IniParser.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20140908/c8afe156/attachment.html>


More information about the Python-ideas mailing list