# HG changeset patch # User Antonio Cuni <anto.cuni@gmail.com> # Date 1304099775 -7200 # Fri Apr 29 19:56:15 2011 +0200 # Branch extradoc # Node ID ea25359f9eda5d0b7cc9e414db75e14cdd80fb99 # Parent 9de66476ca02e7fd79ba8bef7d2b36ba7db7ef74 more updating for pypy 1.5 diff --git a/source/compat.txt b/source/compat.txt --- a/source/compat.txt +++ b/source/compat.txt @@ -3,25 +3,18 @@ title: Python compatibility --- -PyPy implements the Python language version 2.5. It supports all of the core +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 `standard library modules`_; details below. -PyPy has **alpha-level** support for the `CPython C API`_, however, as of 1.4.1 -release this feature is not yet complete. Most libraries will require +PyPy has **alpha/beta-level** support for the `CPython C API`_, 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. 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:: - - import cpyext - -before importing any extensions. You can put this line in your PYTHONSTARTUP -file if you want this to be enabled permanently. Standard library modules supported by PyPy, in alphabetical order: @@ -93,4 +86,4 @@ .. _`CPython C API`: http://docs.python.org/c-api/ .. _`standard library modules`: http://docs.python.org/library/ -.. _`our dev site`: http://codespeak.net/pypy/dist/pypy/doc/cpython_differences.html +.. _`our dev site`: http://codespeak.net/pypy/trunk/pypy/doc/cpython_differences.html diff --git a/source/download.txt b/source/download.txt --- a/source/download.txt +++ b/source/download.txt @@ -116,7 +116,7 @@ 2. Make sure you installed the dependencies. See the list here__. - .. __: http://codespeak.net/pypy/dist/pypy/doc/getting-started-python.html#translating-the-pypy-python-interpreter + .. __: http://codespeak.net/pypy/trunk/pypy/doc/getting-started-python.html#translating-the-pypy-python-interpreter 3. Enter the ``goal`` directory:: @@ -159,7 +159,7 @@ .. _`greenlets`: http://codespeak.net/svn/greenlet/trunk/doc/greenlet.txt .. _Mercurial: http://mercurial.selenic.com/ .. _`nightly binary builds`: http://buildbot.pypy.org/nightly/trunk/ -.. _`shadow stack`: http://codespeak.net/pypy/dist/pypy/doc/config/translation.gcrootfinder.html +.. _`shadow stack`: http://codespeak.net/pypy/trunk/pypy/doc/config/translation.gcrootfinder.html Checksums --------- diff --git a/source/features.txt b/source/features.txt --- a/source/features.txt +++ b/source/features.txt @@ -64,7 +64,7 @@ .. _`pypy-sandbox`: download.html#sandboxed-version .. _`full sources`: download.html#translate -.. _`our dev site`: http://codespeak.net/pypy/dist/pypy/doc/sandbox.html +.. _`our dev site`: http://codespeak.net/pypy/trunk/pypy/doc/sandbox.html Stackless