Modules visible from application programs are imported from
interpreter or application level files. PyPy reuses almost all python
-modules of CPython's standard library, currently from version 2.7.
+modules of CPython's standard library, currently from version 2.7.. We
sometimes need to `modify modules`_ and - more often - regression tests
because they rely on implementation details of CPython.
To run CPython regression tests you can point to the ``lib-python``
- py.test lib-python/2.7
+ py.test lib-python/2.7/test/test_datetime.py
This will usually take a long time because this will run
the PyPy Python interpreter on top of CPython. On the plus
The hierarchy shown above is relative to a PREFIX directory. PREFIX is
computed by starting from the directory where the executable resides, and
-"walking up" the filesystem until we find a directory containing ``lib_pypy``,
-``lib-python/2.7`` and ``lib-python/2.7.1``.
+"walking up" the filesystem until we find a directory containing ``lib_pypy``
The archives (.tar.bz2 or .zip) containing PyPy releases already contain the
correct hierarchy, so to run PyPy it's enough to unpack the archive, and run
the ``bin/pypy`` executable.
To install PyPy system wide on unix-like systems, it is recommended to put the
-whole hierarchy alone (e.g. in ``/opt/pypy1.
6``) and put a symlink to the
+whole hierarchy alone (e.g. in ``/opt/pypy1.``) and put a symlink to the
``pypy`` executable into ``/usr/bin`` or ``/usr/local/bin``
If the executable fails to find suitable libraries, it will report
Support CFFI. http://morepypy.blogspot.ch/2012/08/cffi-release-03.html
.. branch: speedup-unpackiterable
+The stdlib was updated to version 2.7.3
.. "uninteresting" branches that we should just ignore for the whatsnew:
from pypy.interpreter import gateway
#XXX # the release serial 42 is not in range(16)
-CPYTHON_VERSION = (2, 7,
2, "final", 42)
+CPYTHON_VERSION = (2, 7, , "final", 42)
#XXX # sync CPYTHON_VERSION with patchlevel.h, package.py
CPYTHON_API_VERSION = 1013 #XXX # sync with include/modsupport.h