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 rhettinger
Recipients fdrake, gary, rhettinger, stutzbach
Date 2009-04-24.23:48:49
SpamBayes Score 3.949782e-05
Marked as misclassified No
Message-id <1240616930.87.0.814577333998.issue3829@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2009-04-24 23:48:51rhettingersetrecipients: + rhettinger, fdrake, stutzbach, gary
2009-04-24 23:48:50rhettingersetmessageid: <1240616930.87.0.814577333998.issue3829@psf.upfronthosting.co.za>
2009-04-24 23:48:49rhettingerlinkissue3829 messages
2009-04-24 23:48:49rhettingercreate