Serhiy Storchaka added the comment: Updated patch correctly handles rare cases when different elements share the same attrib dict and when the same Element is occurred on different places in ElementTree (that is no longer a tree, but a directed graph).
---------- Added file: http://bugs.python.org/file41317/etree_deepcopy2.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25869> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com