Message10955
How to reproduce
================
in CPython 2.7:
>>> from collections import defaultdict
>>> dict().__getitem__({})
TypeError: unhashable type: 'dict'
>>> dict().__setitem__({}, None)
TypeError: unhashable type: 'dict'
>>> defaultdict(int).__setitem__({}, None)
TypeError: unhashable type: 'dict'
>>> defaultdict(int).__getitem__({})
TypeError: unhashable type: 'dict'
in Jython 2.7.1b3
>>> UNHASHABLE = {}
>>> dict().__getitem__(UNHASHABLE)
TypeError: unhashable type: 'dict'
>>> dict().__setitem__({}, None)
TypeError: unhashable type: 'dict'
>>> defaultdict(int).__setitem__({}, None)
TypeError: unhashable type: 'dict'
>>> defaultdict(int).__getitem__({})
KeyError: {} |
|
Date |
User |
Action |
Args |
2016-09-25 09:01:58 | buelgsk8er | set | recipients:
+ buelgsk8er |
2016-09-25 09:01:58 | buelgsk8er | set | messageid: <1474794118.2.0.95789803427.issue2522@psf.upfronthosting.co.za> |
2016-09-25 09:01:58 | buelgsk8er | link | issue2522 messages |
2016-09-25 09:01:57 | buelgsk8er | create | |
|