Martin Panter added the comment: This patch should fix the problem I think. Before the __ne__() implementation was calling the “==” operator; now it calls the __eq__() method instead.
Also includes extra test for Issue 4395 to avoid having conficting patches. ---------- keywords: +patch Added file: http://bugs.python.org/file37672/method-not-operator.patch _______________________________________ 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