[issue21408] delegation of `!=` to the right-hand side argument is not always done

Benjamin Peterson report at bugs.python.org
Thu May 1 23:52:06 CEST 2014


Benjamin Peterson added the comment:

The subclass behavior is a red herring.

I meant maybe object.__ne__ should check if the other object has a __ne__ method before falling back on ``not object.__eq__()``.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21408>
_______________________________________


More information about the Python-bugs-list mailing list