Debian Codegraph @

pypy/doc/release-2.1.0.rst

raw
1 ============================
2 PyPy 2.1 - Considered ARMful
3 ============================
4
5 We're pleased to announce PyPy 2.1, which targets version 2.7.3 of the Python
6 language. This is the first release with official support for ARM processors in the JIT.
7 This release also contains several bugfixes and performance improvements.
8
9 You can download the PyPy 2.1 release here:
10
11 https://pypy.org/download.html
12
13 We would like to thank the `Raspberry Pi Foundation`_ for supporting the work
14 to finish PyPy's ARM support.
15
16 .. _`Raspberry Pi Foundation`: https://www.raspberrypi.org
17
18 The first beta of PyPy3 2.1, targeting version 3 of the Python language, was
19 just released, more details can be found `here`_.
20
21 .. _`here`: https://morepypy.blogspot.com/2013/07/pypy3-21-beta-1.html
22
23 What is PyPy?
24 =============
25
26 PyPy is a very compliant Python interpreter, almost a drop-in replacement for
27 CPython 2.7. It's fast (`pypy 2.1 and cpython 2.7.2`_ performance comparison)
28 due to its integrated tracing JIT compiler.
29
30 This release supports x86 machines running Linux 32/64, Mac OS X 64 or Windows
31 32. This release also supports ARM machines running Linux 32bit - anything with
32 ``ARMv6`` (like the Raspberry Pi) or ``ARMv7`` (like the Beagleboard,
33 Chromebook, Cubieboard, etc.) that supports ``VFPv3`` should work. Both
34 hard-float ``armhf/gnueabihf`` and soft-float ``armel/gnueabi`` builds are
35 provided. ``armhf`` builds for Raspbian are created using the Raspberry Pi
36 `custom cross-compilation toolchain <https://github.com/raspberrypi>`_
37 based on ``gcc-arm-linux-gnueabihf`` and should work on ``ARMv6`` and
38 ``ARMv7`` devices running Debian or Raspbian. ``armel`` builds are built
39 using the ``gcc-arm-linux-gnuebi`` toolchain provided by Ubuntu and
40 currently target ``ARMv7``.
41
42 Windows 64 work is still stalling, we would welcome a volunteer
43 to handle that.
44
45 .. _`pypy 2.1 and cpython 2.7.2`: https://speed.pypy.org
46
47 Highlights
48 ==========
49
50 * JIT support for ARM, architecture versions 6 and 7, hard- and soft-float ABI
51
52 * Stacklet support for ARM
53
54 * Support for os.statvfs and os.fstatvfs on unix systems
55
56 * Improved logging performance
57
58 * Faster sets for objects
59
60 * Interpreter improvements
61
62 * During packaging, compile the CFFI based TK extension
63
64 * Pickling of numpy arrays and dtypes
65
66 * Subarrays for numpy
67
68 * Bugfixes to numpy
69
70 * Bugfixes to cffi and ctypes
71
72 * Bugfixes to the x86 stacklet support
73
74 * Fixed issue `1533`_: fix an RPython-level OverflowError for space.float_w(w_big_long_number).
75
76 * Fixed issue `1552`_: GreenletExit should inherit from BaseException.
77
78 * Fixed issue `1537`_: numpypy __array_interface__
79
80 * Fixed issue `1238`_: Writing to an SSL socket in PyPy sometimes failed with a "bad write retry" message.
81
82 .. _`1533`: https://bugs.pypy.org/issue1533
83 .. _`1552`: https://bugs.pypy.org/issue1552
84 .. _`1537`: https://bugs.pypy.org/issue1537
85 .. _`1238`: https://bugs.pypy.org/issue1238
86
87 Cheers,
88
89 David Schneider for the PyPy team.