[pypy-issue] [issue1146] numpypy: bug with 1-d array of length 1 .item()

Dmitrey tracker at bugs.pypy.org
Tue May 22 13:25:31 CEST 2012


New submission from Dmitrey <dmitrey15 at ukr.net>:

NumPy:
>>> from numpy import array
>>> array([1]).item()
1
NumPyPy:
>>>> from numpypy import array
>>>> array([1]).item()
Traceback (most recent call last):
  File "<console>", line 1, in <module>
ValueError: index out of bounds

----------
messages: 4322
nosy: Dmitrey, pypy-issue
priority: bug
status: unread
title: numpypy: bug with 1-d array of length 1 .item()

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


More information about the pypy-issue mailing list