[issue35548] memoryview needlessly (?) requires represented object to be hashable

Stefan Krah report at bugs.python.org
Sat Dec 22 06:38:56 EST 2018


Stefan Krah <stefan at bytereef.org> added the comment:

Sorry I meant the above example to use a dict, which currently
does not work:

>>> d = {m: "1"}
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: unhashable type: 'numpy.ndarray'


Then the feature would allow to change the dict key.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35548>
_______________________________________


More information about the Python-bugs-list mailing list