Martin Panter added the comment:

There is a bit of analysis of the object.__ne__() implementation in Issue 4395. 
If my understanding is correct, I think it is a bug that object.__ne__(self, 
other) evaluates “not self == other”. It should evaluate “not 
self.__eq__(other)” instead, so that NotImplemented can be caught, allowing the 
reflected other.__ne__(self) method to be tried.

----------

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

Reply via email to