[Python-Dev] [patch] Duplicate sections detection in ConfigParser

Raghuram Devarakonda draghuram at gmail.com
Tue Feb 3 18:03:59 CET 2009


>> The attached patch is compatible with both the 2.x and the 3.x
>> branches; it adds a `unique_sects` parameter to the constructor of
>> RawConfigParser and a test in the parser loop that raises
>> DuplicateSectionError if a section is seen more then once and that
>> unique_sects is True.

http://bugs.python.org/issue2204 refers to the same issue. Perhaps,
you can upload your patch there in addition to adding any comments.

Thanks,
Raghu


More information about the Python-Dev mailing list