Debian Codegraph @

pypy/doc/release-v7.3.10.rst

raw
1 ======================================================================
2 PyPy v7.3.10: release of python 2.7, 3.8, and 3.9, released 2022-12-06
3 ======================================================================
4
5 ..
6 Changelog up to commit a702b2c7e76f
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.10 of PyPy. We have some nice
15 speedups and bugfixes we wish to share. The release includes three different
16 interpreters:
17
18 - PyPy2.7, which is an interpreter supporting the syntax and the features of
19 Python 2.7 including the stdlib for CPython 2.7.18+ (the ``+`` is for
20 backported security updates)
21
22 - PyPy3.8, which is an interpreter supporting the syntax and the features of
23 Python 3.8, including the stdlib for CPython 3.8.15.
24
25 - PyPy3.9, which is an interpreter supporting the syntax and the features of
26 Python 3.9, including the stdlib for CPython 3.9.15. We have gained
27 confidence in the stability of this version, and are removing the "beta"
28 label.
29
30 The interpreters are based on much the same codebase, thus the multiple
31 release. This is a micro release, all APIs are compatible with the other 7.3
32 releases. Highlights of the release, since the release of 7.3.9 in March 2022
33 include:
34
35 - A release of Apple Silicon M1 arm64 versions. This work `was sponsored`_ by
36 an anonymous donor and is tested on our buildbots.
37
38 - Many improvements to the basic interpreter to make it 15-20% faster
39
40 - The conda-forge community `has built`_ over 1000 packages for PyPy3.8 and 3.9,
41 making it easier than ever to use PyPy.
42
43 - Update the packaged OpenSSL to 1.1.1s, sqlite3 to 3.39.4, and apply
44 applicable security fixes from CPython 3.9.15 to PyPy2.7
45
46 - Update the HPy_ backend in PyPy3.8 and PyPy3.9 to 0.0.4
47
48 We recommend updating. You can find links to download the v7.3.10 releases here:
49
50 https://pypy.org/download.html
51
52 We would like to thank our donors for the continued support of the PyPy
53 project. If PyPy is not quite good enough for your needs, we are available for
54 `direct consulting`_ work. If PyPy is helping you out, we would love to hear about
55 it and encourage submissions to our blog_ via a pull request
56 to https://github.com/pypy/pypy.org
57
58 We would also like to thank our contributors and encourage new people to join
59 the project. PyPy has many layers and we need help with all of them: bug fixes,
60 `PyPy`_ and `RPython`_ documentation improvements, or general `help`_ with making
61 RPython's JIT even better. Since the previous release, we have accepted
62 contributions from five new contributors, thanks for pitching in, and welcome
63 to the project!
64
65 If you are a python library maintainer and use C-extensions, please consider
66 making a HPy_ / CFFI_ / cppyy_ version of your library that would be performant
67 on PyPy.
68 In any case, both `cibuildwheel`_ and the `multibuild system`_ support
69 building wheels for PyPy.
70
71 .. _`PyPy`: index.html
72 .. _`RPython`: https://rpython.readthedocs.org
73 .. _`help`: project-ideas.html
74 .. _CFFI: https://cffi.readthedocs.io
75 .. _cppyy: https://cppyy.readthedocs.io
76 .. _`multibuild system`: https://github.com/matthew-brett/multibuild
77 .. _`cibuildwheel`: https://github.com/joerick/cibuildwheel
78 .. _blog: https://pypy.org/blog
79 .. _HPy: https://hpyproject.org/
80 .. _was sponsored: https://www.pypy.org/posts/2022/07/m1-support-for-pypy.html
81 .. _direct consulting: https://www.pypy.org/pypy-sponsors.html
82 .. _has built: https://www.pypy.org/posts/2022/11/pypy-and-conda-forge.html
83
84 What is PyPy?
85 =============
86
87 PyPy is a Python interpreter, a drop-in replacement for CPython 2.7, 3.8 and
88 3.9. It's fast (`PyPy and CPython 3.7.4`_ performance
89 comparison) due to its integrated tracing JIT compiler.
90
91 We also welcome developers of other `dynamic languages`_ to see what RPython
92 can do for them.
93
94 We provide binary builds for:
95
96 * **x86** machines on most common operating systems
97 (Linux 32/64 bits, Mac OS 64 bits, Windows 64 bits)
98
99 * 64-bit **ARM** machines running Linux (``aarch64``).
100
101 * Apple **M1 arm64** machines (``macos_arm64``).
102
103 * **s390x** running Linux
104
105 PyPy support Windows 32-bit, Linux PPC64 big- and little-endian, and Linux ARM
106 32 bit, but does not release binaries. Please reach out to us if you wish to
107 sponsor binary releases for those platforms. Downstream packagers provide
108 binary builds for debian, Fedora, conda, OpenBSD, FreeBSD, Gentoo, and more.
109
110 .. _`PyPy and CPython 3.7.4`: https://speed.pypy.org
111 .. _`dynamic languages`: https://rpython.readthedocs.io/en/latest/examples.html
112
113 Changelog
114 =========
115
116 Default version (2.7+)
117 ----------------------
118
119 Bugfixes shared across versions
120 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
121
122 - Fix zlib ``ustart`` handling for zlib v1.2.12 (issue 3717_)
123 - Backport security fixes to Python2.7
124 - Structseq improvements: hide ``structseqfield.__get__``, ignore any extra
125 keys in the dict, preserve MapDict implementation strategy as the
126 ``__dict__``, make fields immutable and more
127 - Fix embedding startup code in CFFI (issue 3619_)
128 - Fix ``xmm`` scratch register on win64 (issue 3753_)
129 - Fix corner cases in method and code ``__ne__`` (issue 3759_)
130 - In translation, if ctypes doesn't find the ``C`` library with
131 ``find_library('c')``, try to fallback to generic ``libc.so``. This enables
132 building with musl (issue 3559_)
133 - Unbreak string formatting with mixed bytes/unicode (issue 3802_)
134 - Pull in the ``http.server`` vulnerability fix from cpython-87389_
135 - Raise if empty set contains unhashable (issue 3824_)
136 - Support ``class A(_RawIOBase, BytesIO)`` (issue 3821_)
137 - When raising an error: don't convert random things to unicode (issue 3828_)
138 - Implement the ``.description`` attribute of sqlite3 cursors more carefully
139 (issue 3840_)
140 - Always use ``-fPIC`` when building shared objects on linux platforms
141 - Fix ``MSG_TRUNC`` socket weirdness on linux (issue 3864_)
142
143 Speedups and enhancements shared across versions
144 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
145 - Update the HPy backend to 0.0.4
146 - Update CFFI to the latest HEAD (no new version was released)
147 - Speed up ``dict.copy`` and ``emptydict.update(dict)``
148 - Optimize list sorting to allocate memory a bit less aggressively. Seems
149 to give ~10% on sorting non-tiny lists of ``ints``
150 - Speed up the Python interpreter (jitted code is unchanged) by auto-generating
151 rpython-level shortcut methods for many special methods. This speeds up the
152 interpreter greatly because we don't need to lookup the special method and
153 don't need to go through the general call machinery at all. The effect is
154 comparable to CPython's type slots, but all auto-generated from ``TypeDefs``.
155 It only works for built-in types at this point.
156 - Use structs to unpack ``longlong`` instead of casting to lltype Arrays
157 - Speed up the interpreter by caching global and builtin lookups on the code
158 object
159 - Fix caching of reference constants in JitCodes
160 - Make the exception transformer not introduce calls to ``ll_issubclass``,
161 instead emit the correct ``int_between`` for the type check directly
162 - Instead of encoding the liveness of local registers in each jitcode as a dict
163 mapping pc to a (shared) instance of a class with three strings, do the
164 following: add a live instruction in the jitcode that that has as its argument
165 an offset into a string that compactly encodes liveness.
166 - Fast path for ``string[0]`` to convert a ``str`` to a ``char`` for when
167 ``string`` is already a char
168 - Clean up a few single-use specialized dictionaries in RPython, this reduces
169 the binary size somewhat.
170 - Make ``list.count`` use the same fast paths as ``list.index`` (issue 3744_)
171 - Improve ``int.bit_length`` for the jit: expose unwrapping and rewrapping to
172 tracing
173 - Add a fast path for ``getrandbits(n)`` where ``n <= 31`` (issue 3733_)
174 - Remove useless ``cvt = converters.get(type(param))`` from sqlite3: it was
175 wrong and slowed things down
176 - Add two new hints to ``rlib.jit``:
177
178 - ``record_exact_value(var, const)`` tells the JIT that the box ``var`` must
179 contain the value ``const``.
180
181 - ``record_known_result(result, func, *args)`` is a way to encode knowledge
182 about the result of elidable functions. The hint means that the JIT can
183 assume that if ``func(*args)`` will be called later, the outcome is
184 ``result``
185
186 Typical usecases of this are: you can express this way that functions are
187 inverses of each other, or that a function is idempotent. Both hints need to
188 be used very carefully, because getting them wrong can really lead to
189 miscompilation and crashes.
190 - Speed up ``posix.stat`` calls by directly constructing the output, avoiding a
191 ``structseq``
192 - Make PyPy available for Apple M1 (arm64)
193
194 - Support JIT backend code generation
195 - Handle the different FFI calling conventions
196 - Widen support for packaging the build
197 - Distinguish between the two macos builds
198 - Set up a buildbot machine to run CI
199
200 - Add an optimization for ``uint_rshift(0, x) -> 0`` and ``uint_rshift(x, 0) ->
201 x``. Previously the optimization was only for ``int_rshift``
202 - Make it possible to ``@specialize.memo`` on ``rgc`` custom trace hooks
203 - Use a more subtle condition to check whether aliasing is present when doing
204 malloc removal in the static RPython optimizers.
205 - Micro-optimize ``TraceIterator.next()`` to not allocate quite so many
206 intermediate lists in the JIT code that walks over an encoded trace.
207 - Only put ``OptimizationResults`` into the list for callbacks if the callback
208 would actually *do* anything in the JIT optimizer.
209 - Small optimizations to improve tracing speed:
210
211 - Have special versions of various record functions that take a fixed number of
212 arguments. This makes it possible to not allocate arguments lists.
213 - Don't lookup constant pointers that come from the jitcode in a dictionary
214 again and again in opencoder.
215
216 - Make sure that ``W_Root.getclass`` does not exist in two versions, one for
217 ``access_directly=True``, one regular
218 - Two improvements to space operations:
219
220 - rewrite the translation-time lookup caching to work on the *RPython* class
221 instead of the ``W_TypeObjects``. This makes the latter smaller and saves us
222 having to call ``space.type(w_obj)`` first.
223 - fix caching of binary ops by using a ``@specialize``
224
225 - Clean up the number of ``w_obj.getclass`` variants in mapdict
226 - Use ``append_char`` where appropriate in unicode string builder
227 - Use a fast-path for ``str.encode("utf-8")`` (issue 3756_)
228 - Optimize ``float_abs(float_abs(x))`` to ``float_abs(x)`` in the JIT
229 - Fix NFA generation in metaparser for grammar rules of form ``foo: [a* b]`` in
230 the parser generator that is used for PyPy2.7 and PyPy3.8.
231 - Introduce ``space.newtuple2`` to save the list allocation when a specialized
232 two-tuple is used anyway and use it in ``.next`` of ``enumerate`` and ``zip``.
233 - Speed up using ``warnings.warn`` by making it more JIT friendly
234 - Add an option to the collect analyzer when defining a custom gc trace function
235 - Add a runtime JIT hook to disable tracing
236 - Add ``PYPY_DISABLE_JIT`` as an environment variable to disable the JIT (issue 3148_)
237 - Fast-path finding whitespace in an ascii string inside ``unicode.split()``
238 - Resync ``_vmprof`` with ``vmprof-python``
239 - Replace the trie of names in unicodedata with a directed acyclic word graph
240 to make it more compact. Also various other improvements to make unicodedata
241 more compact. This change shrinks the PyPy2.7 binary by 2.1MiB, PyPy3.x by
242 2.6MiB.
243 - Review all the use cases of ``jit.loop_unrolling_heuristic``, to unroll less
244 aggressively (issue 3781_)
245 - Inline ``_fill_original_boxes`` in the JIT to avoid creating variants in C
246 - Optimize ``inline_call_*`` in the JIT by filling in the new frame directly
247 instead of creating an intermediate list of boxes
248 - Make sure the ``LivenessIterator`` gets inlined and optimized away in the JIT
249 - Speed up ``append_slice`` on unicode builders
250 - Make ``list.__repr__`` use a jit driver, and have implementations for a few
251 of the strategies
252 - Expose a new function ``__pypy__._raise_in_thread`` that will raise an
253 asynchronous exception in another thread the next time that thread runs. This
254 also makes it possible to implement ``PyThreadState_SetAsyncExc`` (issue 3757_)
255 - Make locals use an instance dict to speed them up
256 - Tiny warmup improvement: don't create the ``recentops`` in the JIT optimizer
257 when looking for an existing operation, only when adding one
258 - Avoid using the pureop cache for ``int_invert`` and ``float_neg``
259 - Speed up global dict reads by using the heapcache in the JIT frontend
260 - Constant-fold ``ovf`` operations in rpython
261 - Consider equal lltype ptrs to be equal constants in rpython constant-folding
262
263
264 C-API (cpyext) and C-extensions
265 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
266 - Make sure ``decref`` is being called even if a C-level call raises an
267 exception (issue 3854_)
268
269 Python 3.8+
270 -----------
271
272 Python 3.8+ bugfixes
273 ~~~~~~~~~~~~~~~~~~~~
274 - Fix bug in the disassembler of py3 opcodes (issue 3700_)
275 - Raise ``ModuleNotFoundError`` instead of ``ImportError`` in some cases
276 - Fix ``.lineno``, ``.col_offset`` for decorated functions and classes
277 - Add a ``name`` to ``sys.hash_info``
278 - Fix concurrency problem in buffered ``io`` reading (issue 3729_)
279 - Make it possible to multiple-inherit from ``KeyError`` again (issue 3728_)
280 - Check results from _openssl's ``EVP_DigestInit_ex`` and ``EVP_DigestUpdate``,
281 and fix some failing tests (issue 3741_)
282 - Fix pickling of ``filter`` objects
283 - Fix the way that the lookup annotation optimization breaks python3 due to the
284 way that module instances can change their class at runtime (issue 3758_)
285 - Use the name mapping when creating new hashes for ``_hashlib`` (issue 3778_)
286 - Expose ``os.sendfile`` on macos
287 - Do not override PyPy's ``MAGIC_NUMBER`` when using ``importlib/_bootstrap_external.py`` (issue 3783_)
288 - Fix dictionary unpacking for ``kwargs`` (issue 3775_)
289 - Add memory pressure when creating a tkinter image (issue 3798_)
290 - Remove debug print from ``_winapi`` (issue 3819_)
291 - Add ``__contains__`` to ``array.array`` type (issue 3820_)
292 - Fix CVE-2022-37454 via porting CPython changes to _sha3/kcp/KeccakSponge.inc
293 - Make type lookups fill the ``.name`` field of ``AttributeError``
294 - Check cursor lock in sqlite3 ``Cursor.close``, also lock around ``__fetch_one_row``
295 - Implement ``os.get_native_thread``
296 - Fix setting a slice in a ``memoryview`` with non-unit strides (issue 3857_)
297 - Fix the ``__copy__`` optimization of ``itertools.tee``, which was copying the
298 iterable, not the iterator (issue 3852_)
299 - Fix ``time.strftime`` when the ``format`` contains unicode (issue 3862_)
300 - Fix ``time.strftime`` formatting on windows
301
302 Python 3.8+ speedups and enhancements
303 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
304 - Speed up ``fstrings`` by making the parentstack a resizable list of chars
305 - Better error message when the ``__iter__`` of a class is set to ``None`` (issue 3716_)
306 - Refactor the ``package.py`` script for better compatibility with conda-forge
307 - Add a jit driver for ``filter`` (issue 3745_)
308 - Improve opcode handling: ``jump_absolute``, ``int_xor``, and others
309 - Don't make a JIT loop for one-arg ``print()``
310 - Make float hashing elidable and avoid creating bridges
311 - Mimic CPython's ``max_int_threshold`` to limit the length of a string that
312 that can be parsed into an int
313
314 Python 3.8+ C-API
315 ~~~~~~~~~~~~~~~~~
316 - Add ``PyReversed_Type``, ``PyUnicode_EncodeCodePage``,
317 ``PyInterpreterState_GetID``, ``PyErr_SetFromErrnoWithFilenameObjects``,
318 ``PyUnicode_Append``, ``PyUnicode_AppendAndDel``, ``PyClassMethod_Type``,
319 ``PyStructSequence_SetItem``, ``PyStructSequence_GetItem``,
320 ``PyDictValues_Type``, ``PyDictKeys_Type``,
321 - Map user defined python ``__init__`` to ``tp_init`` (issue 2806_)
322 - Fix PyDict_Contains (issue 3742_)
323 - Allow big ints in ``PyNumber_ToBase`` (issue 3765_)
324 - Normalize OSErrors more consistently, may not be completely fixed on macos
325 (issue 3786_)
326 - Fix ``PyDict_Contains`` to raise on unhashable key
327 - Use ``tp_itemsize==0`` on ``PyUnicode_Type``, even for compact forms (issue
328 3772_)
329 - Include ``<sys/time.h>`` in headers, which fixes a problem with musl (issue
330 3801_)
331 - Add missing incref in ``PyObject_Init``, allocate ``tp_basicsize`` bytes when
332 creating a ``PyTypeObject`` (issues 3844_, 3847_)
333 - Assign ``tp_getset`` to app-level type in ``PyType_FromSpecWithBases`` (issue 3851_)
334 - Properly instantiate ``PyFunction_Type``, ``PyMethod_Type``,
335 ``PyRange_Type``, ``PyTraceBack_Type`` (issue 3776_)
336
337 Python 3.9+
338 -----------
339
340 Python 3.9+ bugfixes
341 ~~~~~~~~~~~~~~~~~~~~
342 - Fix ``f-string`` bug where the recursive tokenization was done incorrectly (issue 3751_)
343 - Fixes to ``repr`` and slots of nested ``GenericAliases`` (issue 3720_)
344 - Match CPython error messages for zip when ``strict=True`` (this is a
345 backported 3.10 feature).
346 - Add ``BASE_TYPE_ADAPTION`` optimization to sqlite3, copied from CPython's approach
347 - Make ``__file__`` of the ``__main__`` module be an absolute path, if possible
348 (issue 3766_)
349 - Use an absolute path for the main module (issue 3792_)
350 - Use an absolute path for ``sys.path[0]`` when running a directory from the
351 cmdline (issue 3792_)
352 - Fix first line number of ``eval`` to be reported as 0 (issue 3800_)
353 - Implement ``bitcount`` for ints
354 - Check when unmarshalling ``TYPE_SHORT_ASCII`` that non-ascii bytes are not present
355 - Fix CVE-2022-42919 (str -> int parsing) as CPython did in cpython-97514_
356 - Fix ``DICT_MERGE`` bytecode with objects that aren't dicts and don't implement
357 ``__len__`` (issue 3841_)
358 - Remove redundant pure-python ``_functools.py`` (issue 3861_)
359 - Fix pure-python ``functools.py`` from CPython (CPython uses a c-extension)
360
361 Python 3.9+ speedups and enhancements
362 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
363 - Adopt CPython changes to speed up fractions (issue 3746_, cpython-91851_)
364 - Speed up ``math.perm`` and ``math.comb`` (issue 3859_)
365
366
367 Python 3.9+ C-API
368 ~~~~~~~~~~~~~~~~~
369 - Add ``PyObject_VectorcallMethod``,
370 - Add ``PyObject_Call`` variants ``*NoArgs``, ``*OneArg``, ``*MethodNoArgs``,
371 ``*MethodOneArg`` (issue 3669_)
372 - Handle vectorcall offset (issue 3845_)
373
374 .. _3716: https://foss.heptapod.net/pypy/pypy/-/issues/3716
375 .. _3720: https://foss.heptapod.net/pypy/pypy/-/issues/3720
376 .. _3751: https://foss.heptapod.net/pypy/pypy/-/issues/3751
377 .. _3700: https://foss.heptapod.net/pypy/pypy/-/issues/3700
378 .. _3728: https://foss.heptapod.net/pypy/pypy/-/issues/3728
379 .. _3729: https://foss.heptapod.net/pypy/pypy/-/issues/3729
380 .. _3733: https://foss.heptapod.net/pypy/pypy/-/issues/3733
381 .. _3742: https://foss.heptapod.net/pypy/pypy/-/issues/3742
382 .. _3741: https://foss.heptapod.net/pypy/pypy/-/issues/3741
383 .. _3744: https://foss.heptapod.net/pypy/pypy/-/issues/3744
384 .. _3745: https://foss.heptapod.net/pypy/pypy/-/issues/3745
385 .. _2806: https://foss.heptapod.net/pypy/pypy/-/issues/2806
386 .. _3717: https://foss.heptapod.net/pypy/pypy/-/issues/3717
387 .. _3619: https://foss.heptapod.net/pypy/pypy/-/issues/3619
388 .. _3753: https://foss.heptapod.net/pypy/pypy/-/issues/3753
389 .. _3759: https://foss.heptapod.net/pypy/pypy/-/issues/3759
390 .. _3559: https://foss.heptapod.net/pypy/pypy/-/issues/3559
391 .. _3802: https://foss.heptapod.net/pypy/pypy/-/issues/3802
392 .. _3824: https://foss.heptapod.net/pypy/pypy/-/issues/3824
393 .. _3821: https://foss.heptapod.net/pypy/pypy/-/issues/3821
394 .. _3828: https://foss.heptapod.net/pypy/pypy/-/issues/3828
395 .. _3840: https://foss.heptapod.net/pypy/pypy/-/issues/3840
396 .. _3756: https://foss.heptapod.net/pypy/pypy/-/issues/3756
397 .. _3148: https://foss.heptapod.net/pypy/pypy/-/issues/3148
398 .. _3781: https://foss.heptapod.net/pypy/pypy/-/issues/3781
399 .. _3757: https://foss.heptapod.net/pypy/pypy/-/issues/3757
400 .. _3758: https://foss.heptapod.net/pypy/pypy/-/issues/3758
401 .. _3778: https://foss.heptapod.net/pypy/pypy/-/issues/3778
402 .. _3783: https://foss.heptapod.net/pypy/pypy/-/issues/3783
403 .. _3775: https://foss.heptapod.net/pypy/pypy/-/issues/3775
404 .. _3798: https://foss.heptapod.net/pypy/pypy/-/issues/3798
405 .. _3819: https://foss.heptapod.net/pypy/pypy/-/issues/3819
406 .. _3820: https://foss.heptapod.net/pypy/pypy/-/issues/3820
407 .. _3857: https://foss.heptapod.net/pypy/pypy/-/issues/3857
408 .. _3765: https://foss.heptapod.net/pypy/pypy/-/issues/3765
409 .. _3786: https://foss.heptapod.net/pypy/pypy/-/issues/3786
410 .. _3772: https://foss.heptapod.net/pypy/pypy/-/issues/3772
411 .. _3801: https://foss.heptapod.net/pypy/pypy/-/issues/3801
412 .. _3844: https://foss.heptapod.net/pypy/pypy/-/issues/3844
413 .. _3847: https://foss.heptapod.net/pypy/pypy/-/issues/3847
414 .. _3851: https://foss.heptapod.net/pypy/pypy/-/issues/3851
415 .. _3776: https://foss.heptapod.net/pypy/pypy/-/issues/3776
416 .. _3766: https://foss.heptapod.net/pypy/pypy/-/issues/3766
417 .. _3792: https://foss.heptapod.net/pypy/pypy/-/issues/3792
418 .. _3792: https://foss.heptapod.net/pypy/pypy/-/issues/3792
419 .. _3800: https://foss.heptapod.net/pypy/pypy/-/issues/3800
420 .. _3841: https://foss.heptapod.net/pypy/pypy/-/issues/3841
421 .. _3746: https://foss.heptapod.net/pypy/pypy/-/issues/3746
422 .. _3669: https://foss.heptapod.net/pypy/pypy/-/issues/3669
423 .. _3845: https://foss.heptapod.net/pypy/pypy/-/issues/3845
424 .. _3852: https://foss.heptapod.net/pypy/pypy/-/issues/3852
425 .. _3854: https://foss.heptapod.net/pypy/pypy/-/issues/3854
426 .. _3859: https://foss.heptapod.net/pypy/pypy/-/issues/3859
427 .. _3861: https://foss.heptapod.net/pypy/pypy/-/issues/3861
428 .. _3862: https://foss.heptapod.net/pypy/pypy/-/issues/3862
429 .. _3864: https://foss.heptapod.net/pypy/pypy/-/issues/3864
430 .. _bpo34953: https://bugs.python.org/issue34953
431 .. _cpython-91851: https://github.com/python/cpython/issues/91851
432 .. _cpython-97514: https://github.com/python/cpython/issues/97514
433 .. _cpython-87389: https://github.com/python/cpython/issues/87389