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

Dmitrey tracker at bugs.pypy.org
Wed May 16 21:09:18 CEST 2012


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

np.array_equal(4,4)
Traceback (most recent call last):
  File "<console>", line 1, in <module>
  File
"/home/dmitrey/Install/pypy-c-jit-55112-18e6d6d81497-linux/lib_pypy/numpypy/core/numeric.py",
line 348, in array_equal
    return bool((a1 == a2).all())
AttributeError: 'bool_' object has no attribute 'all'

in CPython numpy it's just True

----------
messages: 4317
nosy: Dmitrey, pypy-issue
priority: bug
status: unread
title: numpypy: bug in array_equal

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


More information about the pypy-issue mailing list