Łukasz Langa added the comment: 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'}) and 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. ---------- versions: +Python 3.3 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue16820> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com