<p>PyPy implements the Python language version 2.5. It supports all of the core
<p>PyPy implements the Python language version 2.7.1. It supports all of the core
language, passing Python test suite (with minor modifications that were
already accepted in the main python in newer versions). It supports most
of the commonly used Python <aclass="reference external"href="http://docs.python.org/library/">standard library modules</a>; details below.</p>
...
...
@@ -51,8 +51,8 @@
language, passing Python test suite (with minor modifications that were
already accepted in the main python in newer versions). It supports most
of the commonly used Python <aclass="reference external"href="http://docs.python.org/library/">standard library modules</a>; details below.</p>
<p>PyPy has <strong>alpha-level</strong> support for the <aclass="reference external"href="http://docs.python.org/c-api/">CPython C API</a>, however, as of 1.4.1
release this feature is not yet complete. Most libraries will require
<p>PyPy has <strong>alpha/beta-level</strong> support for the <aclass="reference external"href="http://docs.python.org/c-api/">CPython C API</a>, however, as of 1.5
release this feature is not yet complete. Many libraries will require
a bit of effort to work, but there are known success stories. Check out
PyPy blog for updates.</p>
<p>C extensions need to be recompiled for PyPy in order to work. Depending on
...
...
@@ -56,14 +56,7 @@
a bit of effort to work, but there are known success stories. Check out
PyPy blog for updates.</p>
<p>C extensions need to be recompiled for PyPy in order to work. Depending on
your build system, it might work out of the box or will be slightly harder.
In order to instruct pypy to load a CPython extension (compiled with supplied
Python.h), run following line:</p>
<preclass="literal-block">
import cpyext
</pre>
<p>before importing any extensions. You can put this line in your PYTHONSTARTUP
file if you want this to be enabled permanently.</p>
your build system, it might work out of the box or will be slightly harder.</p>
<p>Standard library modules supported by PyPy, in alphabetical order:</p>
<p>A more complete list is available at <aclass="reference external"href="http://codespeak.net/pypy/dist/pypy/doc/cpython_differences.html">our dev site</a>.</p>
<p>A more complete list is available at <aclass="reference external"href="http://codespeak.net/pypy/trunk/pypy/doc/cpython_differences.html">our dev site</a>.</p>
<li><pclass="first">Make sure you installed the dependencies. See the list <aclass="reference external"href="http://codespeak.net/pypy/dist/pypy/doc/getting-started-python.html#translating-the-pypy-python-interpreter">here</a>.</p>
<li><pclass="first">Make sure you installed the dependencies. See the list <aclass="reference external"href="http://codespeak.net/pypy/trunk/pypy/doc/getting-started-python.html#translating-the-pypy-python-interpreter">here</a>.</p>
</li>
<li><pclass="first">Enter the <ttclass="docutils literal">goal</tt> directory:</p>
<preclass="literal-block">
...
...
@@ -159,7 +159,7 @@
is delicate. It requires using either MSVC or gcc with no particularly
fancy options. It does not work e.g. with clang, or if you pass uncommon
options with the <ttclass="docutils literal">CFLAGS</tt> environment variable. You can also try to
compile PyPy with the <aclass="reference external"href="http://codespeak.net/pypy/dist/pypy/doc/config/translation.gcrootfinder.html">shadow stack</a> option.</li>
compile PyPy with the <aclass="reference external"href="http://codespeak.net/pypy/trunk/pypy/doc/config/translation.gcrootfinder.html">shadow stack</a> option.</li>