Nick Coghlan added the comment:

+1, looks good to me.

That test for ordering and comparison interoperability is actually pretty neat 
- I wonder if we could make it more generally available as a "check my class 
handles NotImplemented correctly" check (in unittest?), which would potentially 
be useful in pursuing a fix for issue #11477.

The fact the default __ne__ implementation doesn't handle NotImplemented 
correctly should probably be filed as a separate issue.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue23268>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to