Author terry.reedy
Recipients Arfrever, docs@python, loewis, max, r.david.murray, terry.reedy
Date 2012-09-22.00:10:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1348272649.53.0.228031950738.issue15997@psf.upfronthosting.co.za>
In-reply-to
Content
The first three sentences are fine. The problem I have is with the 4th: 'may return' is rather vague. Such methods may raise TypeError instead (the old way), seemingly to the same effect. (See msg170936 in issue #12067, which is about clarifying the comparisons section of the expression chapter.). So the 5th sentence could be misinterpreted wrongly to mean that NotImplemented is needed to get the alternate method try. (Since it is not, I wonder why it was added, since it complicates the internal logic of arithmetic and comparison ops.)

Perhaps a better place for any clarification on this point would be in 3.3 in the entry for __le__, etc.
History
Date User Action Args
2012-09-22 00:10:49terry.reedysetrecipients: + terry.reedy, loewis, Arfrever, r.david.murray, docs@python, max
2012-09-22 00:10:49terry.reedysetmessageid: <1348272649.53.0.228031950738.issue15997@psf.upfronthosting.co.za>
2012-09-22 00:10:48terry.reedylinkissue15997 messages
2012-09-22 00:10:48terry.reedycreate