[issue37685] Fix equality checks for some types

Serhiy Storchaka report at bugs.python.org
Wed Feb 12 15:35:36 EST 2020


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

Thank you Łukasz. I considered this as a bug fix, but was not sure that we should fix these bugs. They were here from the beginning.

Josh, as for using total_ordering, I think it is a different issue. I did not want to change the behavior except fixing bugs (and raising an error or not supporting comparison with objects which support comparison when used at LHS looks like a bug). Feel free to open separate issues for using total_ordering or changing its semantic.

----------
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed
versions:  -Python 3.7, Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37685>
_______________________________________


More information about the Python-bugs-list mailing list