[issue9616] copy.deepcopy() copying pointers from a dict/dict/list, should copy values
Martin v. Löwis
report at bugs.python.org
Sun Aug 15 22:20:43 CEST 2010
Martin v. Löwis <martin at v.loewis.de> added the comment:
Why do you say "modifications to the deepcopied structure were
affecting the original"? Your code sample doesn't include any modifications to the deepcopied structure.
Try modifying it, and watch the original remaining unchanged.
----------
nosy: +loewis
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9616>
_______________________________________
More information about the Python-bugs-list
mailing list