Bug#845082: numexpr FTBFS on ppc64el: test failures

Fernando Seiti Furusato ferseiti at linux.vnet.ibm.com
Tue Nov 22 12:48:19 UTC 2016


Hello.
It is noticeable that it fails on a 3^3 array operation.
On "scalar" operations, it doesn't show the same behavior.

Like so:

$ python3.5
Python 3.5.2+ (default, Nov  3 2016, 11:10:16)
[GCC 6.2.0 20161027] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import numexpr as ne
>>> a=[3]
>>> b=[3]
>>> ne.evaluate("a ** b") # array operation
array([26], dtype=int64)
>>> ne.evaluate("3 ** 3") # scalar operation
array(27, dtype=int32)

$ python
Python 2.7.12+ (default, Nov  4 2016, 17:04:30)
[GCC 6.2.0 20161027] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import numexpr as ne
>>> a=[3]
>>> b=[3]
>>> ne.evaluate("a ** b")
array([26])
>>> ne.evaluate("3 ** 3")
array(27, dtype=int32)

I am not sure if it fails with other values as well.
I will keep looking.

Regards

-- 
Fernando Seiti Furusato
IBM Linux Technology Center


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20161122/2191d7e4/attachment.sig>


More information about the debian-science-maintainers mailing list