[issue12422] When deepcopying, don't store immutable objects in the memo dict

Alex Gaynor report at bugs.python.org
Mon Jun 27 17:50:24 CEST 2011


Alex Gaynor <alex.gaynor at gmail.com> added the comment:

A slightly cleverer version (or less clever, depending on how you approach the issue) that also works with tuples of immutable content.

----------
Added file: http://bugs.python.org/file22499/d.diff

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


More information about the Python-bugs-list mailing list