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 rhettinger, stutzbach
Date 2010-05-21.16:03:52
SpamBayes Score 0.0032391637
Marked as misclassified No
Message-id <1274457834.79.0.676597117944.issue8750@psf.upfronthosting.co.za>
In-reply-to
Content
Patch with unit test attached for MutableSet's:

x ^= x
x -= x

I was wrong about |= and &= having a problem.  Since they don't mutate the set, they don't raise an exception (they only .add items that are already in the set).  I added tests for them but left the implementation alone.
History
Date User Action Args
2010-05-21 16:03:54stutzbachsetrecipients: + stutzbach, rhettinger
2010-05-21 16:03:54stutzbachsetmessageid: <1274457834.79.0.676597117944.issue8750@psf.upfronthosting.co.za>
2010-05-21 16:03:53stutzbachlinkissue8750 messages
2010-05-21 16:03:52stutzbachcreate