Debian Codegraph @

pypy/doc/release-v7.3.19.rst

raw
1 ============================================================================
2 PyPy v7.3.19: release of python 2.7, 3.10 and 3.11 beta, released 2025-02-26
3 ============================================================================
4
5 The PyPy team is proud to release version 7.3.19 of PyPy. This is primarily a
6 bug-fix release fixing JIT-related problems and follows quickly on the heels of
7 the previous release on Feb 6, 2025.
8
9
10 This release includes a python 3.11 interpreter. There were bugs in the first
11 beta that could prevent its wider use, so we are continuing to call this
12 release "beta". In the next release we will drop 3.10 and remove the "beta"
13 label.
14
15 The release includes three different interpreters:
16
17 - PyPy2.7, which is an interpreter supporting the syntax and the features of
18 Python 2.7 including the stdlib for CPython 2.7.18+ (the ``+`` is for
19 backported security updates)
20
21 - PyPy3.10, which is an interpreter supporting the syntax and the features of
22 Python 3.10, including the stdlib for CPython 3.10.16.
23
24 - PyPy3.11, which is an interpreter supporting the syntax and the features of
25 Python 3.11, including the stdlib for CPython 3.11.11.
26
27 The interpreters are based on much the same codebase, thus the triple
28 release. This is a micro release, all APIs are compatible with the other 7.3
29 releases. It follows after 7.3.17 release on August 28, 2024.
30
31 We recommend updating. You can find links to download the releases here:
32
33 https://pypy.org/download.html
34
35 We would like to thank our donors for the continued support of the PyPy
36 project. If PyPy is not quite good enough for your needs, we are available for
37 `direct consulting`_ work. If PyPy is helping you out, we would love to hear
38 about it and encourage submissions to our blog_ via a pull request
39 to https://github.com/pypy/pypy.org
40
41 We would also like to thank our contributors and encourage new people to join
42 the project. PyPy has many layers and we need help with all of them: bug fixes,
43 `PyPy`_ and `RPython`_ documentation improvements, or general `help`_ with
44 making RPython's JIT even better.
45
46 If you are a python library maintainer and use C-extensions, please consider
47 making a HPy_ / CFFI_ / cppyy_ version of your library that would be performant
48 on PyPy. In any case, both `cibuildwheel`_ and the `multibuild system`_ support
49 building wheels for PyPy.
50
51 .. _`PyPy`: https://doc.pypy.org/
52 .. _`RPython`: https://rpython.readthedocs.org
53 .. _`help`: https://doc.pypy.org/project-ideas.html
54 .. _CFFI: https://cffi.readthedocs.io
55 .. _cppyy: https://cppyy.readthedocs.io
56 .. _`multibuild system`: https://github.com/matthew-brett/multibuild
57 .. _`cibuildwheel`: https://github.com/joerick/cibuildwheel
58 .. _blog: https://pypy.org/blog
59 .. _HPy: https://hpyproject.org/
60 .. _direct consulting: https://www.pypy.org/pypy-sponsors.html
61
62
63 What is PyPy?
64 =============
65
66 PyPy is a Python interpreter, a drop-in replacement for CPython
67 It's fast (`PyPy and CPython`_ performance
68 comparison) due to its integrated tracing JIT compiler.
69
70 We also welcome developers of other `dynamic languages`_ to see what RPython
71 can do for them.
72
73 We provide binary builds for:
74
75 * **x86** machines on most common operating systems
76 (Linux 32/64 bits, Mac OS 64 bits, Windows 64 bits)
77
78 * 64-bit **ARM** machines running Linux (``aarch64``) and macos (``macos_arm64``).
79
80 PyPy supports Windows 32-bit, Linux PPC64 big- and little-endian, Linux ARM
81 32 bit, RISC-V RV64IMAFD Linux, and s390x Linux but does not release binaries.
82 Please reach out to us if you wish to sponsor binary releases for those
83 platforms. Downstream packagers provide binary builds for debian, Fedora,
84 conda, OpenBSD, FreeBSD, Gentoo, and more.
85
86 .. _`PyPy and CPython`: https://speed.pypy.org
87 .. _`dynamic languages`: https://rpython.readthedocs.io/en/latest/examples.html
88
89 Changelog
90 =========
91
92 For all versions
93 ----------------
94 - Improve the performance of rbigint formatting
95
96 Bugfixes
97 ~~~~~~~~
98
99 - Fix compilation warnings and errors for latest gcc and latest clang (:issue:`5194`, :issue: `5195`, :issue:`5199`, :issue:`5201`, )
100 - Fix JIT segfault caused by ``BoxArrayIter`` improperly decoding the varsized length
101 - Fix corner case in unroll jit optimization (:issue:`5212`)
102
103 Speedups and enhancements
104 ~~~~~~~~~~~~~~~~~~~~~~~~~
105
106 Python 3.10
107 -----------
108 - Remove distinfo around vendored ``readline`` module, to be more compatible
109 with CPython.
110
111 Bugfixes
112 ~~~~~~~~
113 - Match statements did not match ``None`` as a dictionary value (:issue:`5209`)
114 - Remove the extension suffix hack for ppc64le to fix using ``.pypy39*``
115 suffix for PyPy3.10. This is a longstanding bug that should have been removed
116 in the first PyPy3.10 release (:issue:`5196`).
117 - Use ``BIO_new_file`` not ``BIO_new_fp`` in ``_ssl`` since the later does not
118 work on windows.
119 - Assign ``ht_qualname`` on builtin python types (:issue:`5217`)
120 - Ternary ``pow`` behaves differently with respect to calling ``__rpow__`` in
121 the interpreter and via the C-API's ``tp_as_number.nb_power`` (:issue:`5207`)
122 - ``len(_weakset)`` could fail due to garbage collection while iterating,
123 iterate over a copy instead (:issue:`5193`)
124 - Fix the tokenizer for combinations of line-continuations (back-slash) and
125 indentation, fixes from an earlier fix were slightly wrong (:issue:`5221`)
126
127
128 Speedups and enhancements
129 ~~~~~~~~~~~~~~~~~~~~~~~~~
130 - Make ``itertools.islice`` faster if no step is given, following
131 https://discuss.python.org/t/python-3-13-0-speed/79547
132 - Add missing ``PyUnicode_DecodeRawUnicodeEscape``, ``PyUnicode_AsRawUnicodeEscapeString`` which are tested in cython, apparently not used elsewhere.
133
134 Python 3.11
135 -----------
136
137 Bugfixes
138 ~~~~~~~~
139 - Add missing ``co_qualname`` to code objects, also fix ``PyCode_*`` signatures (:issue:`5203`)
140 - Fix printing traceback when the error line has trailing whitespace (:issue:`5219`)
141 - Fix segfault when ``__getattr__`` raises ``AttributeError`` (:issue:`5222`)
142 - Port missed PyPy3.10 fix for ``inspect.isbuiltin`` when ``obj`` is a
143 C-extension function type. Fixes build of SciPy (:issue:`5227`)