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