Debian Codegraph @

pypy/doc/release-v7.3.11.rst

raw
1 ======================================================================
2 PyPy v7.3.11: release of python 2.7, 3.8, and 3.9, released 2022-12-29
3 ======================================================================
4
5 ..
6 Changelog up to commit 207858e40e63
7
8 .. note_::
9 This is a pre-release announcement. When the release actually happens, it
10 will be announced on the `PyPy blog`_
11
12 .. _`PyPy blog`: https://pypy.org/blog
13
14 The PyPy team is proud to release version 7.3.11 of PyPy. As could be expected,
15 the first release of macOS arm64 impacted the macOS x86-64 build, so this is
16 a bug release to restore the ability of macOS users to run PyPy on ``macOS <
17 11.0``. It also incorporates the latest CPython stdlib updates released the day
18 after 7.3.10 went out, and a few more bug fixes. The release includes three
19 different interpreters:
20
21 - PyPy2.7, which is an interpreter supporting the syntax and the features of
22 Python 2.7 including the stdlib for CPython 2.7.18+ (the ``+`` is for
23 backported security updates)
24
25 - PyPy3.8, which is an interpreter supporting the syntax and the features of
26 Python 3.8, including the stdlib for CPython 3.8.16. Note we intend to drop
27 support for this version in an upcoming release as soon as we release
28 Pyython 3.10.
29
30 - PyPy3.9, which is an interpreter supporting the syntax and the features of
31 Python 3.9, including the stdlib for CPython 3.9.16.
32
33 The interpreters are based on much the same codebase, thus the multiple
34 release. This is a micro release, all APIs are compatible with the other 7.3
35 releases and follows quickly on the heals of the 7.3.10 release on Dec 6.
36
37 We recommend updating. You can find links to download the v7.3.11 releases here:
38
39 https://pypy.org/download.html
40
41 We would like to thank our donors for the continued support of the PyPy
42 project. If PyPy is not quite good enough for your needs, we are available for
43 `direct consulting`_ work. If PyPy is helping you out, we would love to hear about
44 it and encourage submissions to our blog_ via a pull request
45 to https://github.com/pypy/pypy.org
46
47 We would also like to thank our contributors and encourage new people to join
48 the project. PyPy has many layers and we need help with all of them: bug fixes,
49 `PyPy`_ and `RPython`_ documentation improvements, or general `help`_ with making
50 RPython's JIT even better. Since the previous release, we have accepted
51 contributions from one new contributor, thanks for pitching in, and welcome
52 to the project!
53
54 If you are a python library maintainer and use C-extensions, please consider
55 making a HPy_ / CFFI_ / cppyy_ version of your library that would be performant
56 on PyPy. In any case, both `cibuildwheel`_ and the `multibuild system`_ support
57 building wheels for PyPy.
58
59 .. _`PyPy`: index.html
60 .. _`RPython`: https://rpython.readthedocs.org
61 .. _`help`: project-ideas.html
62 .. _CFFI: https://cffi.readthedocs.io
63 .. _cppyy: https://cppyy.readthedocs.io
64 .. _`multibuild system`: https://github.com/matthew-brett/multibuild
65 .. _`cibuildwheel`: https://github.com/joerick/cibuildwheel
66 .. _blog: https://pypy.org/blog
67 .. _HPy: https://hpyproject.org/
68 .. _was sponsored: https://www.pypy.org/posts/2022/07/m1-support-for-pypy.html
69 .. _direct consulting: https://www.pypy.org/pypy-sponsors.html
70 .. _has built: https://www.pypy.org/posts/2022/11/pypy-and-conda-forge.html
71
72 What is PyPy?
73 =============
74
75 PyPy is a Python interpreter, a drop-in replacement for CPython 2.7, 3.8 and
76 3.9. It's fast (`PyPy and CPython 3.7.4`_ performance
77 comparison) due to its integrated tracing JIT compiler.
78
79 We also welcome developers of other `dynamic languages`_ to see what RPython
80 can do for them.
81
82 We provide binary builds for:
83
84 * **x86** machines on most common operating systems
85 (Linux 32/64 bits, Mac OS 64 bits, Windows 64 bits)
86
87 * 64-bit **ARM** machines running Linux (``aarch64``).
88
89 * Apple **M1 arm64** machines (``macos_arm64``).
90
91 * **s390x** running Linux
92
93 PyPy support Windows 32-bit, Linux PPC64 big- and little-endian, and Linux ARM
94 32 bit, but does not release binaries. Please reach out to us if you wish to
95 sponsor binary releases for those platforms. Downstream packagers provide
96 binary builds for debian, Fedora, conda, OpenBSD, FreeBSD, Gentoo, and more.
97
98 .. _`PyPy and CPython 3.7.4`: https://speed.pypy.org
99 .. _`dynamic languages`: https://rpython.readthedocs.io/en/latest/examples.html
100
101 Changelog
102 =========
103
104 For all versions
105 ----------------
106
107 Bugfixes
108 ~~~~~~~~
109 - Fix several JIT optimizer bugs `using SMT solvers and fuzzing`_. The bugs
110 were around integer optimations (issue 3832_).
111 - Only use ``pthread_jit_write_protect_np`` on macOS arm64 (issue 3865_).
112 - Add ``sysconfig.get_config_var('CONFINCLUDEPY')`` needed in some
113 cross-compilations
114 - Package tkinter for macOS. Previously the portable builds did not include it
115 (issues 3760_, 3868_).
116 - Fix memory leak in certificate validation in ``_ssl`` (issue 3871_)
117 - Add ``__qualname__`` to some cpyext types (issue 3878_)
118 - Clean up some deprecated functions in OpenSSL wrapper ``_ssl``
119
120
121 Speedups and enhancements
122 ~~~~~~~~~~~~~~~~~~~~~~~~~
123 - Add pinned object count to gc collection stats reported in the
124 ``on_gc_collect hook``
125
126 Python 3.8+
127 -----------
128
129 - Update stdlib for PyPy3.8 to 3.8.16 and for PyPy3.9 to 3.9.16. This brings
130 some security fixes, as documented in the `CPython release note`_
131 - Ensure that only valid values are passed from ``Py_UNICODE_*`` calls to
132 unicodedb lookups (issue 3870_)
133 - Fix ast ``lineno``, ``end_lineno``, ``end_col_number`` around decorators (issue 3876_)
134 - Re-apply fix for issue 3436_ since our ensurepip setuptools version is ``< 59.0``
135 - In ``_tkinter``, ``getboolean``, ``getint``, ``getdouble`` accepts a ``Tcl_Obj`` (bpo-23880_)
136 - Make builtin ``credits``, ``license()`` more like CPython
137 - Add docstrings to some builtin classes and methods
138
139 Python 3.9
140 ----------
141 - Fix pure-python implementation of ``functools`` (issue 3869_). see also cpython GH-100242_
142 - Remove ``type.__ne__``, the inherited behaviour from ``object.__ne__`` is the
143 correct one (issue 3879_)
144 - Fix invalid parsing rule for ``genexps`` as the non-singular argument in a call (issue 3873_)
145
146 .. _`using SMT solvers and fuzzing`: https://www.pypy.org/posts/2022/12/jit-bug-finding-smt-fuzzing.html
147 .. _`CPython release note`: https://www.python.org/downloads/release/python-3816
148 .. _bpo-23880: https://bugs.python.org/issue23880
149 .. _GH-100242: https://github.com/python/cpython/issues/100242
150 .. _3436: https://foss.heptapod.net/pypy/pypy/-/issues/3436
151 .. _3760: https://foss.heptapod.net/pypy/pypy/-/issues/3760
152 .. _3832: https://foss.heptapod.net/pypy/pypy/-/issues/3832
153 .. _3865: https://foss.heptapod.net/pypy/pypy/-/issues/3865
154 .. _3868: https://foss.heptapod.net/pypy/pypy/-/issues/3868
155 .. _3869: https://foss.heptapod.net/pypy/pypy/-/issues/3869
156 .. _3870: https://foss.heptapod.net/pypy/pypy/-/issues/3870
157 .. _3871: https://foss.heptapod.net/pypy/pypy/-/issues/3871
158 .. _3873: https://foss.heptapod.net/pypy/pypy/-/issues/3873
159 .. _3876: https://foss.heptapod.net/pypy/pypy/-/issues/3876
160 .. _3878: https://foss.heptapod.net/pypy/pypy/-/issues/3878
161 .. _3879: https://foss.heptapod.net/pypy/pypy/-/issues/3879