Author sbt
Recipients barry, eli.bendersky, eric.smith, ethan.furman, mrabarnett, pitrou, r.david.murray, rhettinger, sbt, serhiy.storchaka, theller, tim.peters, vstinner
Date 2013-09-10.14:53:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
With the current patch __repr__() will fail if the untransformed key is unhashable:

>>> d = collections.transformdict(id)
>>> L = [1,2,3]
>>> d[L] = None 
>>> d.keys()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Repos\cpython-dirty\lib\collections\", line 444, in __repr__
    return '{0.__class__.__name__}({0._mapping!r})'.format(self)
  File "C:\Repos\cpython-dirty\lib\collections\", line 944, in __repr__
    self._transform, repr(dict(self)))
TypeError: unhashable type: 'list'
Date User Action Args
2013-09-10 14:53:59sbtsetrecipients: + sbt, tim.peters, barry, theller, rhettinger, pitrou, vstinner, eric.smith, mrabarnett, r.david.murray, eli.bendersky, ethan.furman, serhiy.storchaka
2013-09-10 14:53:59sbtsetmessageid: <>
2013-09-10 14:53:59sbtlinkissue18986 messages
2013-09-10 14:53:59sbtcreate