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 corona10
Recipients corona10, rhettinger, serhiy.storchaka
Date 2020-05-04.13:52:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1588600363.53.0.883526385955.issue40489@roundup.psfhosted.org>
In-reply-to
Content
I can crash python interpreter with few lines of code when if we remove those codes.



class S(str):

    def __eq__(self, other):
        d.clear()
        return NotImplemented

    def __hash__(self):
        return hash('test')

d = {S(): 'value'}
'test' in d
History
Date User Action Args
2020-05-04 13:52:43corona10setrecipients: + corona10, rhettinger, serhiy.storchaka
2020-05-04 13:52:43corona10setmessageid: <1588600363.53.0.883526385955.issue40489@roundup.psfhosted.org>
2020-05-04 13:52:43corona10linkissue40489 messages
2020-05-04 13:52:43corona10create