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 facundobatista, jdunck, lorg, mark.dickinson, rhettinger
Date 2009-04-01.21:30:49
SpamBayes Score 0.0059862155
Marked as misclassified No
Message-id <1238621452.04.0.782509121853.issue2531@psf.upfronthosting.co.za>
In-reply-to
Content
Mark, I looked at your patch again and think we should support relaxed
conversions for ordering comparisons but not equality/inequality.  This
will improve on the current situation where we get flat-out misleading
results for <, <=, >, and >=.  It keeps the status quo for
equality/inequality and thereby avoids the problems with __hash__.

The only thing that I don't like about it is that you can't do the usual
reasoning where "not a<b and not a>b" implies "a==b".  Still, it is an
improvement over "a<b" giving a completely useless and misleading result.
History
Date User Action Args
2009-04-01 21:30:52rhettingersetrecipients: + rhettinger, facundobatista, mark.dickinson, jdunck, lorg
2009-04-01 21:30:52rhettingersetmessageid: <1238621452.04.0.782509121853.issue2531@psf.upfronthosting.co.za>
2009-04-01 21:30:50rhettingerlinkissue2531 messages
2009-04-01 21:30:49rhettingercreate