Le 22/07/15 17:58, Oscar Benjamin a écrit :
Hi all,

What's the current status of numpy in pypy? Previously the interpreter
would suggest to import numpypy which would then provide a subset of
numpy. Is the suggestion now to install this fork

https://bitbucket.org/pypy/numpy

which installs under the ordinary numpy name? I just installed that and

Yes, this is the way to install numpy now.

attempted to use fft and got:

$ pypy
Python 2.7.9 (295ee98b6928, May 31 2015, 07:29:04)
[PyPy 2.6.0 with GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
 >>>> from numpy.fft import fft
 >>>> fft([1] * 100)
*** glibc detected *** pypy: malloc(): memory corruption:
0x000000000389da80 ***

At this point pypy has to be killed. It's not using any CPU but
completely unresponsive.

Changing it to fft([1] * 4) I get a core dump:

Well, it's a bug. Please report it at https://bitbucket.org/pypy/numpy
_______________________________________________
pypy-dev mailing list
pypy-dev@python.org
https://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to