Fred Drake wrote:
A rich-comparison method should return NotImplemented to indicate that
it doesn't implement the specific comparison; the response should be
for Python to allow the other operand a chance to handle the
comparison (inverted, of course).
What an unfortunate name, I'd have called it Uncomparable on some such...
Simplistix - Content Management, Zope & Python Consulting
Zope3-users mailing list