Raymond Hettinger <rhettin...@users.sourceforge.net> added the comment:
I didn't disagree with you. The swap bodies implementation technique is not expected and is exploitable in a number of ways. What outcome to you want? Eliminate the implicit set-to-frozenset conversion feature; introduce a non-mutating version that copies the entire set; or just document that the automatic conversion is non-atomic, temporarily mutating, and not thread-safe? Personally, I've never been convinced of the value of this feature and would not feel sad to have it removed. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue8757> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com