[pypy-issue] [issue1137] "TypeError: 'int32' has no length"

timo tracker at bugs.pypy.org
Sat Apr 21 23:50:27 CEST 2012


New submission from timo <timonator at perpetuum-immobile.de>:

>>>> import numpypy as np
>>>> a = np.zeros((10,), "int32")
>>>> b = np.ones((5,), "int32")
>>>> for num in b: a[num] += 1
Traceback (most recent call last):
  File "<console>", line 1, in <module>
TypeError: 'int32' has no length

----------
messages: 4283
nosy: pypy-issue, timo
priority: bug
status: unread
title: "TypeError: 'int32' has no length"

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


More information about the pypy-issue mailing list