Serhiy Storchaka added the comment:

This doesn't work with new-style classes that always have __ne__ inherited from 
object.

I afraid that the only way to fix this issue is to backport Python 3 behavior 
of default __ne__, automatically fallback to __eq__.

----------

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

Reply via email to