Message86440
Daniel, you're basically on the money. No exception is getting masked.
The rich comparison operations for sets are defined as subset/superset
operations. So, those operations are not useful for total orderings
used by min/max/sorted/bisect/heapq/cmp and tuple comparisons. We can't
stop those tools from calling the rich comparisons but we can and do
raise a TypeError when cmp() is called directly on two sets. |
|
Date |
User |
Action |
Args |
2009-04-24 23:48:51 | rhettinger | set | recipients:
+ rhettinger, fdrake, stutzbach, gary |
2009-04-24 23:48:50 | rhettinger | set | messageid: <1240616930.87.0.814577333998.issue3829@psf.upfronthosting.co.za> |
2009-04-24 23:48:49 | rhettinger | link | issue3829 messages |
2009-04-24 23:48:49 | rhettinger | create | |
|