[pypy-issue] [issue1148] numpypy: int64 is unhashable

Dmitrey tracker at bugs.pypy.org
Thu May 31 08:09:00 CEST 2012


Dmitrey <dmitrey15 at ukr.net> added the comment:

my results with latest build (32 bit Intel Atom):

>>>> from numpypy import *
>>>> {int16(1):2}
{1: 2}
>>>> {int8(1):2}
{1: 2}
>>>> {int32(1):2}
Traceback (most recent call last):
  File "<console>", line 1, in <module>
TypeError: unsupported operand type for hash: 'int32'
>>>> {int64(1):2}
{1: 2}
>>>> {float32(1):2}
{1.0: 2}
>>>> {float64(1):2}
Traceback (most recent call last):
  File "<console>", line 1, in <module>
TypeError: unsupported operand type for hash: 'float64'

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1148>
________________________________________


More information about the pypy-issue mailing list