[pypy-issue] [issue1287] tiny bug in numpypy fancy indexing (arr[[]]=1 throws error)

Valery tracker at bugs.pypy.org
Sat Oct 13 16:46:31 CEST 2012


New submission from Valery <khamenya at gmail.com>:

import numpypy as np
z = np.zeros(0, dtype=np.int32)
z[z]=0 # IndexError: wrong index
z[[]]=0 # IndexError: wrong index

----------
assignedto: fijal
messages: 4842
nosy: fijal, pypy-issue, vak
priority: bug
status: unread
title: tiny bug in numpypy fancy indexing (arr[[]]=1 throws error)

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


More information about the pypy-issue mailing list