Serhiy Storchaka added the comment: Michele, in any case you patch is not preserve set identity. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue8425> _______________________________________