[pypy-dev] PyPy 2.0.2 released

Armin Rigo arigo at tunes.org
Tue May 21 11:27:11 CEST 2013


Hi all,

The bugfix PyPy 2.0.2 has been released (on all platforms but OS/X
which should come later in the day).


=========================
PyPy 2.0.2 - Fermi Panini
=========================

We're pleased to announce PyPy 2.0.2.  This is a stable bugfix release
over 2.0 and 2.0.1.  You can download it here:

    http://pypy.org/download.html

It fixes a crash in the JIT when calling external C functions (with
ctypes/cffi) in a multithreaded context.

What is PyPy?
=============

PyPy is a very compliant Python interpreter, almost a drop-in replacement for
CPython 2.7. It's fast (pypy 2.0 and cpython 2.7.3 performance comparison:
http://speed.pypy.org) due to its integrated tracing JIT compiler.

This release supports x86 machines running Linux 32/64, Mac OS X 64 or
Windows 32.  Support for ARM is progressing but not bug-free yet.

Highlights
==========

This release contains only the fix described above.  A crash (or wrong
results) used to occur if all these conditions were true:

- your program is multithreaded;

- it runs on a single-core machine or a heavily-loaded multi-core one;

- it uses ctypes or cffi to issue external calls to C functions.

This was fixed in the branch emit-call-x86 (see the example file
bug1.py: https://bitbucket.org/pypy/pypy/commits/7c80121abbf4).

Cheers,
arigo et. al. for the PyPy team


More information about the pypy-dev mailing list