Martin v. Löwis <mar...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue9616> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com