[pypy-issue] [issue1143] numpypy: bug in array_equal

Valery tracker at bugs.pypy.org
Tue Oct 2 11:11:53 CEST 2012


Valery <khamenya at gmail.com> added the comment:

it could be perhaps easy fixed, because the reason is that npp.bool8 and/or 
npp.bool_ indeed have no method all() yet.

in numpy:
>>> import numpy as np
>>> np.bool8(True).all()
True

whereas in numpypy:

>>>> import numpypy as npp
>>>> npp.bool8(True).all()
Traceback (most recent call last):
  File "<console>", line 1, in <module>
AttributeError: 'bool_' object has no attribute 'all'

----------
assignedto:  -> fijal
nosy: +fijal, vak
release:  -> ???
status: unread -> chatting

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


More information about the pypy-issue mailing list