Message368049
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 |
|
Date |
User |
Action |
Args |
2020-05-04 13:52:43 | corona10 | set | recipients:
+ corona10, rhettinger, serhiy.storchaka |
2020-05-04 13:52:43 | corona10 | set | messageid: <1588600363.53.0.883526385955.issue40489@roundup.psfhosted.org> |
2020-05-04 13:52:43 | corona10 | link | issue40489 messages |
2020-05-04 13:52:43 | corona10 | create | |
|