[issue16058] ConfigParser no longer deepcopy compatible in 2.7

Łukasz Langa report at bugs.python.org
Wed Dec 21 13:33:47 EST 2016


Łukasz Langa added the comment:

Solved in 3.2+ by making it compatible with the Mapping protocol. So while you can't do deepcopy(), you can `parser2.read_dict(parser1)`.

----------
dependencies:  -Regex objects became uncopyable in 2.5
resolution:  -> fixed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16058>
_______________________________________


More information about the Python-bugs-list mailing list