Author ncoghlan
Recipients benjamin.peterson, giampaolo.rodola, gpolo, gregory.p.smith, gvanrossum, michael.foord, ncoghlan, pitrou, pupeno, purcell, rhettinger, skip.montanaro
Date 2009-04-04.22:47:56
SpamBayes Score 1.92303e-07
Marked as misclassified No
Message-id <>
No, because the rich comparison docs explicitly state that the
interpreter makes no assumptions about the relationship between != and
== (or, more precisely, __eq__ and __ne__).

"""There are no implied relationships among the comparison operators.
The truth of x==y does not imply that x!=y is false. """


If someone is writing unit tests for comparison methods they should
explicitly test all 6 operations.
Date User Action Args
2009-04-04 22:47:59ncoghlansetrecipients: + ncoghlan, gvanrossum, skip.montanaro, rhettinger, gregory.p.smith, purcell, pitrou, giampaolo.rodola, pupeno, benjamin.peterson, gpolo, michael.foord
2009-04-04 22:47:58ncoghlansetmessageid: <>
2009-04-04 22:47:57ncoghlanlinkissue2578 messages
2009-04-04 22:47:56ncoghlancreate