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 benjamin.peterson, pitrou, rhettinger, stutzbach
Date 2010-05-19.00:27:12
SpamBayes Score 9.33206e-06
Marked as misclassified No
Message-id <>
Here's a patch that adds test cases.  It exercises all of the following special methods on Set and Mapping to ensure that they return NotImplemented if they don't recognize the other type.

    lt, gt, le, ge, eq, ne, or, and, xor, sub

I made the patch against the py3k branch.

I made the test-case patch separate to make it easier to see the before and after behavior of the actual fix.
Date User Action Args
2010-05-19 00:27:17stutzbachsetrecipients: + stutzbach, rhettinger, pitrou, benjamin.peterson
2010-05-19 00:27:16stutzbachsetmessageid: <>
2010-05-19 00:27:14stutzbachlinkissue8729 messages
2010-05-19 00:27:14stutzbachcreate