[issue1617161] Instance methods compare equal when their self's are equal

Westley Martínez report at bugs.python.org
Wed Mar 12 07:07:51 CET 2014


Westley Martínez added the comment:

I updated the tests to be in sync, but the implementation of the fix is not so trivial.  The conversion from cmp() to rich comparison is the primary culprit, so it will take time for me to get familiar enough with the C source to update the fix.  I couldn't seem to get the patch to apply even to the 2.x branch (I think it's because it's an SVN patch...) to see if the fix actually works.

That said, this enhancement is so old that it might not warrant a fix at all.  Maybe it should be brought up on python-dev?

----------
Added file: http://bugs.python.org/file34367/1617161_test_update.diff

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


More information about the Python-bugs-list mailing list