[issue16820] configparser.ConfigParser.clean and .update bugs

2012-12-31 Thread Wolfgang Scherer
Wolfgang Scherer added the comment: Thanks, works for me. I only noted the discrepancy and did not give it much thought. I will just implement a merge method on top of read_dict. That gives me all options that could be desired :). However, after implementing the entire compatibility layer, I

[issue16820] configparser.ConfigParser.clean and .update bugs

2012-12-30 Thread Wolfgang Scherer
New submission from Wolfgang Scherer: configparser.ConfigParser.clean() always fails: >>> cfg = configparser.ConfigParser() >>> if not hasattr(configparser.ConfigParser, 'clear'): ... configparser.ConfigParser.clear = configparser_clear_compat