Debian Codegraph @

pypy/doc/release-2.5.1.rst

raw
1 ================================
2 PyPy 2.5.1 - Pineapple Bromeliad
3 ================================
4
5 We're pleased to announce PyPy 2.5.1, Pineapple `Bromeliad`_ following on the heels of 2.5.0
6
7 You can download the PyPy 2.5.1 release here:
8
9 https://pypy.org/download.html
10
11 We would like to thank our donors for the continued support of the PyPy
12 project, and for those who donate to our three sub-projects, as well as our
13 volunteers and contributors.
14 We've shown quite a bit of progress, but we're slowly running out of funds.
15 Please consider donating more, or even better convince your employer to donate,
16 so we can finish those projects! The three sub-projects are:
17
18 * `Py3k`_ (supporting Python 3.x): We have released a Python 3.2.5 compatible version
19 we call PyPy3 2.4.0, and are working toward a Python 3.3 compatible version
20
21 * `STM`_ (software transactional memory): We have released a first working version,
22 and continue to try out new promising paths of achieving a fast multithreaded Python
23
24 * `NumPy`_ which requires installation of our fork of upstream numpy,
25 available `on bitbucket`_
26
27 .. _`Bromeliad`: https://xkcd.com/1498
28 .. _`Py3k`: https://pypy.org/py3donate.html
29 .. _`STM`: https://pypy.org/tmdonate2.html
30 .. _`NumPy`: https://pypy.org/numpydonate.html
31 .. _`on bitbucket`: https://www.bitbucket.org/pypy/numpy
32
33 We would also like to encourage new people to join the project. PyPy has many
34 layers and we need help with all of them: `PyPy`_ and `Rpython`_ documentation
35 improvements, tweaking popular `modules`_ to run on pypy, or general `help`_ with making
36 Rpython's JIT even better.
37
38 .. _`PyPy`: https://doc.pypy.org
39 .. _`Rpython`: https://rpython.readthedocs.org
40 .. _`modules`: https://doc.pypy.org/project-ideas.html#make-more-python-modules-pypy-friendly
41 .. _`help`: https://doc.pypy.org/project-ideas.html
42
43 What is PyPy?
44 =============
45
46 PyPy is a very compliant Python interpreter, almost a drop-in replacement for
47 CPython 2.7. It's fast (`pypy and cpython 2.7.x`_ performance comparison)
48 due to its integrated tracing JIT compiler.
49
50 This release supports **x86** machines on most common operating systems
51 (Linux 32/64, Mac OS X 64, Windows, and OpenBSD),
52 as well as newer **ARM** hardware (ARMv6 or ARMv7, with VFPv3) running Linux.
53
54 While we support 32 bit python on Windows, work on the native Windows 64
55 bit python is still stalling, we would welcome a volunteer
56 to `handle that`_.
57
58 .. _`pypy and cpython 2.7.x`: https://speed.pypy.org
59 .. _`handle that`: https://doc.pypy.org/windows.html#what-is-missing-for-a-full-64-bit-translation
60
61 Highlights
62 ==========
63
64 * The past months have seen pypy mature and grow, as rpython becomes the goto
65 solution for writing fast dynamic language interpreters. Our separation of
66 Rpython and the python interpreter PyPy is now much clearer in the
67 `PyPy documentation`_ and we now have separate `RPython documentation`_.
68 Tell us what still isn't clear, or even better help us improve the documentation.
69
70 * We merged version 2.7.9 of python's stdlib. From the python release notice:
71
72 * The entirety of Python 3.4's `ssl module`_ has been backported.
73 See `PEP 466`_ for justification.
74
75 * HTTPS certificate validation using the system's certificate store is now
76 enabled by default. See `PEP 476`_ for details.
77
78 * SSLv3 has been disabled by default in httplib and its reverse dependencies
79 due to the `POODLE attack`_.
80
81 * The `ensurepip module`_ has been backported, which provides the pip
82 package manager in every Python 2.7 installation. See `PEP 477`_.
83
84 * The garbage collector now ignores parts of the stack which did not change
85 since the last collection, another performance boost
86
87 * errno and LastError are saved around cffi calls so things like pdb will not
88 overwrite it
89
90 * We continue to asymptotically approach a score of 7 times faster than cpython
91 on our benchmark suite, we now rank 6.98 on latest runs
92
93 * Issues reported with our previous release were resolved_ after reports from users on
94 our issue tracker at https://bitbucket.org/pypy/pypy/issues or on IRC at
95 #pypy.
96
97 .. _`PyPy documentation`: https://doc.pypy.org
98 .. _`RPython documentation`: https://rpython.readthedocs.org
99 .. _`ssl module`: https://docs.python.org/3/library/ssl.html
100 .. _`PEP 466`: https://www.python.org/dev/peps/pep-0466
101 .. _`PEP 476`: https://www.python.org/dev/peps/pep-0476
102 .. _`PEP 477`: https://www.python.org/dev/peps/pep-0477
103 .. _`POODLE attack`: https://www.imperialviolet.org/2014/10/14/poodle.html
104 .. _`ensurepip module`: https://docs.python.org/2/library/ensurepip.html
105 .. _resolved: https://doc.pypy.org/whatsnew-2.5.1.html
106
107 Please try it out and let us know what you think. We welcome
108 success stories, `experiments`_, or `benchmarks`_, we know you are using PyPy, please tell us about it!
109
110 Cheers
111
112 The PyPy Team
113
114 .. _`experiments`: https://morepypy.blogspot.com/2015/02/experiments-in-pyrlang-with-rpython.html
115 .. _`benchmarks`: https://mithrandi.net/blog/2015/03/axiom-benchmark-results-on-pypy-2-5-0