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 akira
Recipients Electro, akira, mark.dickinson, rhettinger
Date 2014-06-27.12:40:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1403872805.0.0.29284092259.issue21873@psf.upfronthosting.co.za>
In-reply-to
Content
It is about equality. `float('nan') != float('nan')` unlike `0 == 0`.

From msg221603: 

> If not equal, the sequences are ordered the same as their first differing elements.

The result of the expression: `(a, whatever) < (b, whatever)` is defined by 
`a < b` if a and b differs i.e., it is not necessary to compare other elements (though Python language reference doesn't forbid further comparisons. It doesn't specify explicitly the short-circuit behavior for sequence comparisons unlike for `and`, `or` operators that guarantee the lazy (only as much as necessary) evaluation).
History
Date User Action Args
2014-06-27 12:40:05akirasetrecipients: + akira, rhettinger, mark.dickinson, Electro
2014-06-27 12:40:05akirasetmessageid: <1403872805.0.0.29284092259.issue21873@psf.upfronthosting.co.za>
2014-06-27 12:40:04akiralinkissue21873 messages
2014-06-27 12:40:04akiracreate