[issue9616] copy.deepcopy() copying pointers from a dict/dict/list, should copy values

Neil Harkins report at bugs.python.org
Sun Aug 15 22:45:06 CEST 2010


Neil Harkins <nharkins at gmail.com> added the comment:

thanks for the quick response. 

that was just my working up a simplified repro, but you are 
correct: on modification there, it gets a new id() location.

totally not what i would've expected (python flags
it for copying when it changes, to save space?)

however i am still seeing the problem in my code, so
i will continue to whittle it down to a simpler repro,
and hopefully add it here later today.

----------

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


More information about the Python-bugs-list mailing list