Message85099
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. |
|
Date |
User |
Action |
Args |
2009-04-01 21:30:52 | rhettinger | set | recipients:
+ rhettinger, facundobatista, mark.dickinson, jdunck, lorg |
2009-04-01 21:30:52 | rhettinger | set | messageid: <1238621452.04.0.782509121853.issue2531@psf.upfronthosting.co.za> |
2009-04-01 21:30:50 | rhettinger | link | issue2531 messages |
2009-04-01 21:30:49 | rhettinger | create | |
|