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 lukasz.langa
Recipients lukasz.langa, python-dev, wolfmanx
Date 2012-12-31.03:09:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Thanks for your report, Wolfgang. The `clean()` method is now fixed. The
`update()` situation is more complicated, however.

The mapping protocol defines that

    mapping.update({'a': 'b', 'c': 'd'})


    mapping.update(a='b', c='d')

are equivalent to

    mapping['a'] = 'b'
    mapping['c'] = 'd'

For `configparser` we decided that setting a section on a parser is
a destructive operation (e.g. it overwrites previous options). If the user
finds this undesirable, she can either use `parser['section'].update()` or
`parser.read_dict()` like you suggested.

The bug here is that __setitem__ for the DEFAULTSECT should also clear options
previously set on this section.
Date User Action Args
2012-12-31 03:10:00lukasz.langasetrecipients: + lukasz.langa, python-dev, wolfmanx
2012-12-31 03:10:00lukasz.langasetmessageid: <>
2012-12-31 03:10:00lukasz.langalinkissue16820 messages
2012-12-31 03:09:59lukasz.langacreate