[issue32108] configparser bug: section is emptied if you assign a section to itself

Serhiy Storchaka report at bugs.python.org
Tue Nov 28 10:43:05 EST 2017


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

PR 4607 doesn't look a correct solution to me. I don't know a precedence of calling deepcopy() for a value in __setitem__(). deepcopy() is too heavy, calling it can slow down normal cases. Using deepcopy likely means a bad design.

----------
nosy: +serhiy.storchaka

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32108>
_______________________________________


More information about the Python-bugs-list mailing list