[Python-Dev] [patch] Duplicate sections detection in ConfigParser (original) (raw)

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 uniquesects 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 uniquesects 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