Message315979
having a tough time trying to reproduce this issue in pure python.
any clue as to how to create a __repr__ that's unhashable?
class UnhashableRepr(dict):
__repr__ = _testcapi.instancemethod(dict.__repr__)
doesn't work because that turns into a <slot wrapper '__repr__' of 'dict' objects> which becomes hashable.
i'd love to provide a patch, seems trivial to fix, but wouldn't want to do so without some tests. |
|
Date |
User |
Action |
Args |
2018-05-01 03:17:25 | siming85 | set | recipients:
+ siming85, r.david.murray |
2018-05-01 03:17:25 | siming85 | set | messageid: <1525144645.22.0.682650639539.issue33395@psf.upfronthosting.co.za> |
2018-05-01 03:17:25 | siming85 | link | issue33395 messages |
2018-05-01 03:17:24 | siming85 | create | |
|