Message106017
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:17 | stutzbach | set | recipients:
+ stutzbach, rhettinger, pitrou, benjamin.peterson |
2010-05-19 00:27:16 | stutzbach | set | messageid: <1274228836.42.0.0870593328527.issue8729@psf.upfronthosting.co.za> |
2010-05-19 00:27:14 | stutzbach | link | issue8729 messages |
2010-05-19 00:27:14 | stutzbach | create | |
|