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 jdemeyer
Recipients jdemeyer
Date 2019-07-18.09:04:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1563440658.46.0.882912152625.issue37619@roundup.psfhosted.org>
In-reply-to
Content
>>> class S(str):
...     __eq__ = int.__eq__
>>> S() == S()
True

The expectation is that this raises an exception because int.__eq__() is called on S instances.
History
Date User Action Args
2019-07-18 09:04:18jdemeyersetrecipients: + jdemeyer
2019-07-18 09:04:18jdemeyersetmessageid: <1563440658.46.0.882912152625.issue37619@roundup.psfhosted.org>
2019-07-18 09:04:18jdemeyerlinkissue37619 messages
2019-07-18 09:04:18jdemeyercreate