This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author wolfmanx
Recipients wolfmanx
Date 2012-12-30.17:12:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
configparser.ConfigParser.clean() always fails:

    >>> cfg = configparser.ConfigParser()
    >>> if not hasattr(configparser.ConfigParser, 'clear'):
    ...     configparser.ConfigParser.clear = configparser_clear_compat
    >>> cfg.clear() #doctest: +ELLIPSIS
    Traceback (most recent call last):
    ValueError: Cannot remove the default section.

configparser.ConfigParser.update() overwrites all sections except DEFAULT instead of updating them.

See attached test file-
Date User Action Args
2012-12-30 17:12:53wolfmanxsetrecipients: + wolfmanx
2012-12-30 17:12:53wolfmanxsetmessageid: <>
2012-12-30 17:12:53wolfmanxlinkissue16820 messages
2012-12-30 17:12:53wolfmanxcreate