[issue21576] Overwritten (custom) uuid inside dictionary

beta report at bugs.python.org
Mon May 26 01:24:47 CEST 2014


beta added the comment:

import copy

ship = {'Name': 'Slagschip', 'Blocks': 5}

shipData = copy.deepcopy(ship) # needed, otherwise linked-object
shipData['uuid'] = Id # unique Id

Is this the correct Python behavior?

----------
resolution:  -> not a bug

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


More information about the Python-bugs-list mailing list