Hi, I would like to use numpy implementation for Pypy (what else would one do on December 31 :-). In particular, I would like to use numpy.fromiter, which is available according to this overview:
http://buildbot.pypy.org/numpy-status/latest.html. However, contrary to what this website says, this function is not yet available. Conclusion: the website is wrong. Or am I missing something? albertjan@debian:~$ sudo pypy $(which pip) install -U git+https://bitbucket.org/pypy/numpy.git albertjan@debian:~$ sudo pypy -c 'import numpy' # sudo: as per the installation instructions albertjan@debian:~$ pypy Python 2.7.8 (f5dcc2477b97386c11e4b67f08a2d00fbd2fce5d, Sep 19 2014, 10:37:41) [PyPy 2.4.0 with GCC 4.8.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>>> import sys >>>> import numpy as np >>>> np.__version__, sys.version ('1.9.0', '2.7.8 (f5dcc2477b97386c11e4b67f08a2d00fbd2fce5d, Sep 19 2014, 10:37:41)\n[PyPy 2.4.0 with GCC 4.8.2]') >>>> np.fromiter <function tmp at 0x00007fdc06e35bc8> >>>> np.fromiter((i for i in range(10)), np.float) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/opt/pypy-2.4/site-packages/numpy/core/multiarray.py", line 55, in tmp raise NotImplementedError("%s not implemented yet" % func) NotImplementedError: fromiter not implemented yet Thanks in advance and happy 2015. Regards, Albert-Jan ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ All right, but apart from the sanitation, the medicine, education, wine, public order, irrigation, roads, a fresh water system, and public health, what have the Romans ever done for us? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- https://mail.python.org/mailman/listinfo/python-list