R. David Murray added the comment: Based on reading the patch.dict doct, I'm guessing that that dict call is making a copy in order to do a restore later. Perhaps replacing the dict call with a copy call would be sufficient? (I haven't looked at the dict.patch code).
---------- nosy: +r.david.murray, rbcollins _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue24928> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com