Debian Codegraph @

pypy/doc/release-2.0.2.rst

raw
1 =========================
2 PyPy 2.0.2 - Fermi Panini
3 =========================
4
5 We're pleased to announce PyPy 2.0.2. This is a stable bugfix release
6 over `2.0`_ and `2.0.1`_. You can download it here:
7
8 https://pypy.org/download.html
9
10 It fixes a crash in the JIT when calling external C functions (with
11 ctypes/cffi) in a multithreaded context.
12
13 .. _2.0: release-2.0.0.html
14 .. _2.0.1: release-2.0.1.html
15
16 What is PyPy?
17 =============
18
19 PyPy is a very compliant Python interpreter, almost a drop-in replacement for
20 CPython 2.7. It's fast (`pypy 2.0 and cpython 2.7.3`_ performance comparison)
21 due to its integrated tracing JIT compiler.
22
23 This release supports x86 machines running Linux 32/64, Mac OS X 64 or
24 Windows 32. Support for ARM is progressing but not bug-free yet.
25
26 .. _`pypy 2.0 and cpython 2.7.3`: https://speed.pypy.org
27
28 Highlights
29 ==========
30
31 This release contains only the fix described above. A crash (or wrong
32 results) used to occur if all these conditions were true:
33
34 - your program is multithreaded;
35
36 - it runs on a single-core machine or a heavily-loaded multi-core one;
37
38 - it uses ctypes or cffi to issue external calls to C functions.
39
40 This was fixed in the branch `emit-call-x86`__ (see the example file
41 ``bug1.py``).
42
43 .. __: https://bitbucket.org/pypy/pypy/commits/7c80121abbf4
44
45 Cheers,
46 arigo et. al. for the PyPy team