This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients serhiy.storchaka
Date 2019-07-25.21:07:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1564088866.66.0.720895226226.issue37685@roundup.psfhosted.org>
In-reply-to
Content
The __eq__ implementation should return NotImplemented instead of False or raising an exception (like AttributeError or TypeError) when it does not support comparison with the other operand's type. It is so for most of implementations in the stdlib, but there are several exceptions. The proposed patch fixes these cases.
History
Date User Action Args
2019-07-25 21:07:46serhiy.storchakasetrecipients: + serhiy.storchaka
2019-07-25 21:07:46serhiy.storchakasetmessageid: <1564088866.66.0.720895226226.issue37685@roundup.psfhosted.org>
2019-07-25 21:07:46serhiy.storchakalinkissue37685 messages
2019-07-25 21:07:46serhiy.storchakacreate