[pypy-issue] [issue1545] "from numpypy import *" doesn't yield abs, min, max etc

Dmitrey tracker at bugs.pypy.org
Wed Jul 17 11:00:30 CEST 2013


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

Cpython:
>>> from numpy import abs
>>> abs((1, -2, 3))
array([1, 2, 3])

PyPy:
>>>> from numpypy import *
>>>> abs([1,-2,3])
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: unsupported operand type for unary abs: 'list'
>>>> from numpypy import abs
>>>> abs([1,2,3])
array([1, 2, 3])

Same bug with max, min etc

----------
messages: 5943
nosy: Dmitrey, pypy-issue
priority: bug
status: unread
title: "from numpypy import *" doesn't yield abs, min, max etc

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


More information about the pypy-issue mailing list