[issue7005] ConfigParser does not handle options without values

Fred L. Drake, Jr. report at bugs.python.org
Sun Sep 27 22:34:11 CEST 2009


Fred L. Drake, Jr. <fdrake at acm.org> added the comment:

The test "value is not None" in line 620 (of the new version) could be
just "value" and get a little more value from less code.

I don't think I've ever run across a sample .ini-style file that used
unspecified values, though it's frequently done in "flat" configuration
files.

Have you come across an existing configuration format that uses the
[section] markers and unspecified values, or is this really a new use-case?

----------

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


More information about the Python-bugs-list mailing list