[pypy-issue] [issue1130] numpypy indexing of arrays with lists doesn't match numpy
Valery
tracker at bugs.pypy.org
Tue Oct 2 10:56:01 CEST 2012
Valery <khamenya at gmail.com> added the comment:
all three asserts are doing well now:
>>>> np.array([10,11,12,13])[[1,2]]
array([11, 12])
>>>> np.arange(6).reshape((2,3))[[0,1]]
array([[0, 1, 2],
[3, 4, 5]])
>>>> np.arange(6).reshape((2,3))[(0,1)]
1
fijal: you may want to add them to the tests though (for this tiny reason only i am changing status to "testing",
not to "resolved")
----------
assignedto: -> fijal
nosy: +vak
release: -> 2.0
status: chatting -> testing
________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1130>
________________________________________
More information about the pypy-issue
mailing list