[pypy-dev] Couple of questions...

Armin Rigo arigo at tunes.org
Wed Feb 23 16:03:02 CET 2011


Hi Luke,

On Tue, Feb 22, 2011 at 3:11 PM, Luke Taylor <luke at freeculture.co.uk> wrote:
> if there are any plans to make PyPy implement Python 3.x ?

There are no plans at the moment, though I imagine that such plans
will emerge at one point.  Indeed, we are almost done with supporting
2.7, which is "on the way there".

> Why don't extension modules for Python with bits written in C (eg. SciPy)
> work with PyPy?

You can't generalize like that; some of them do, thanks to the cpyext
module of PyPy.  But not SciPy, which is using a lot of fonctionality
of CPython that is "semi-internal".  Moreover, cpyext is slow, so it's
rather meant to support C extensions like wxWindow that are not there
for performance but for functionality.  We can improve performance a
bit, but it's unlikely to ever get at a level where it's appropriate
for NumPy or SciPy.  Instead, what needs to be done there is rewrite
some parts in a more PyPy-friendly way.  (For NumPy there is a project
at http://projects.scipy.org/numpy/wiki/NumPyRefactoring that is
likely to be useful for us too.)


A bientôt,

Armin.



More information about the Pypy-dev mailing list