Created originally on Bitbucket by Serge Matyunin (Sergey Matyunin)
Changesets for this Pull Request have not been imported, because it had been already declined on Bitbucket. Marked as closed by the import user.
The problem:
In CPython:
#!python
np.array([10, 20, 30])[np.int64(1)] == numpy.int64(20)
In Pypy
#!python
np.array([10, 20, 30])[np.int64(1)] == numpy.array([20])
This PR makes Pypy return an integer.