[pypy-issue] [issue1719] numpy: bug with array indexation

Dmitrey tracker at bugs.pypy.org
Tue Mar 25 15:48:49 CET 2014

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

>>>> from numpy import *
>>>> r=ones(3)
>>>> ind = array([],int32)
>>>> tmp = array([],float64)
>>>> r[ind]=tmp
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
IndexError: index 0 is out of bounds for axis 0 with size 0

(in cpython it works)

messages: 6631
nosy: Dmitrey, pypy-issue
priority: bug
status: unread
title: numpy: bug with array indexation

PyPy bug tracker <tracker at bugs.pypy.org>

More information about the pypy-issue mailing list