This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author stutzbach
Recipients dstanek, ezio.melotti, flox, rhettinger, stutzbach
Date 2010-08-06.13:57:27
SpamBayes Score 0.00010918047
Marked as misclassified No
Message-id <1281103050.36.0.921174007029.issue8757@psf.upfronthosting.co.za>
In-reply-to
Content
It is easy in online communications to interpret a response as a disagreement.  I apologize for falling into that trap.

I am +1 on removing implicit set-to-frozenset conversions, which would more effectively "fix" issue8752 for me (this is the only aspect of set behavior that I cannot emulate with a carefully designed collections.Set subclass).  Also, I think forcing users to be explicit is more Pythonic.

In the meantime, a full copy is the solution I had in mind.  While it's less efficient, it's only slower by a constant factor.  The swap method still required O(n) steps to compute the hash.
History
Date User Action Args
2010-08-06 13:57:30stutzbachsetrecipients: + stutzbach, rhettinger, dstanek, ezio.melotti, flox
2010-08-06 13:57:30stutzbachsetmessageid: <1281103050.36.0.921174007029.issue8757@psf.upfronthosting.co.za>
2010-08-06 13:57:28stutzbachlinkissue8757 messages
2010-08-06 13:57:27stutzbachcreate