Skip to content

Commit 39b2f82

Browse files
committed
Python 3.8.20
1 parent 4d069d5 commit 39b2f82

21 files changed

+206
-61
lines changed

Include/patchlevel.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@
1818
/*--start constants--*/
1919
#define PY_MAJOR_VERSION 3
2020
#define PY_MINOR_VERSION 8
21-
#define PY_MICRO_VERSION 19
21+
#define PY_MICRO_VERSION 20
2222
#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_FINAL
2323
#define PY_RELEASE_SERIAL 0
2424

2525
/* Version as a string */
26-
#define PY_VERSION "3.8.19+"
26+
#define PY_VERSION "3.8.20"
2727
/*--end constants--*/
2828

2929
/* Version as a single 4-byte hex number, e.g. 0x010502B2 == 1.5.2b2.

Misc/NEWS.d/3.8.20.rst

+203
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,203 @@
1+
.. date: 2024-05-29-17-05-28
2+
.. gh-issue: 119690
3+
.. nonce: U6RMtm
4+
.. release date: 2024-09-06
5+
.. section: Windows
6+
7+
Fixes data type confusion in audit events raised by ``_winapi.CreateFile``
8+
and ``_winapi.CreateNamedPipe``.
9+
10+
..
11+
12+
.. date: 2024-03-14-01-58-22
13+
.. gh-issue: 116773
14+
.. nonce: H2UldY
15+
.. section: Windows
16+
17+
Fix instances of ``<_overlapped.Overlapped object at 0xXXX> still has
18+
pending operation at deallocation, the process may crash``.
19+
20+
..
21+
22+
.. date: 2024-05-25-17-06-01
23+
.. gh-issue: 112769
24+
.. nonce: kdLJmS
25+
.. section: Tests
26+
27+
The tests now correctly compare zlib version when
28+
:const:`zlib.ZLIB_RUNTIME_VERSION` contains non-integer suffixes. For
29+
example zlib-ng defines the version as ``1.3.0.zlib-ng``.
30+
31+
..
32+
33+
.. date: 2024-03-24-23-49-25
34+
.. gh-issue: 117187
35+
.. nonce: eMLT5n
36+
.. section: Tests
37+
38+
Fix XML tests for vanilla Expat <2.6.0.
39+
40+
..
41+
42+
.. date: 2024-09-04-12-41-35
43+
.. gh-issue: 123678
44+
.. nonce: N41y9n
45+
.. section: Security
46+
47+
Upgrade libexpat to 2.6.3
48+
49+
..
50+
51+
.. date: 2024-07-22-13-14-38
52+
.. gh-issue: 121957
53+
.. nonce: FYkcOt
54+
.. section: Security
55+
56+
Fixed missing audit events around interactive use of Python, now also
57+
properly firing for ``python -i``, as well as for ``python -m asyncio``. The
58+
event in question is ``cpython.run_stdin``.
59+
60+
..
61+
62+
.. date: 2024-07-22-13-11-28
63+
.. gh-issue: 122133
64+
.. nonce: 0mPeta
65+
.. section: Security
66+
67+
Authenticate the socket connection for the ``socket.socketpair()`` fallback
68+
on platforms where ``AF_UNIX`` is not available like Windows.
69+
70+
Patch by Gregory P. Smith <[email protected]> and Seth Larson
71+
<[email protected]>. Reported by Ellie <[email protected]>
72+
73+
..
74+
75+
.. date: 2024-07-02-13-39-20
76+
.. gh-issue: 121285
77+
.. nonce: hrl-yI
78+
.. section: Security
79+
80+
Remove backtracking from tarfile header parsing for ``hdrcharset``, PAX, and
81+
GNU sparse headers.
82+
83+
..
84+
85+
.. date: 2024-05-01-20-57-09
86+
.. gh-issue: 118486
87+
.. nonce: K44KJG
88+
.. section: Security
89+
90+
:func:`os.mkdir` on Windows now accepts *mode* of ``0o700`` to restrict the
91+
new directory to the current user. This fixes CVE-2024-4030 affecting
92+
:func:`tempfile.mkdtemp` in scenarios where the base temporary directory is
93+
more permissive than the default.
94+
95+
..
96+
97+
.. date: 2024-04-19-11-21-13
98+
.. gh-issue: 114572
99+
.. nonce: t1QMQD
100+
.. section: Security
101+
102+
:meth:`ssl.SSLContext.cert_store_stats` and
103+
:meth:`ssl.SSLContext.get_ca_certs` now correctly lock access to the
104+
certificate store, when the :class:`ssl.SSLContext` is shared across
105+
multiple threads.
106+
107+
..
108+
109+
.. date: 2024-03-27-13-50-02
110+
.. gh-issue: 116741
111+
.. nonce: ZoGryG
112+
.. section: Security
113+
114+
Update bundled libexpat to 2.6.2
115+
116+
..
117+
118+
.. date: 2024-08-26-13-45-20
119+
.. gh-issue: 123270
120+
.. nonce: gXHvNJ
121+
.. section: Library
122+
123+
Applied a more surgical fix for malformed payloads in :class:`zipfile.Path`
124+
causing infinite loops (gh-122905) without breaking contents using
125+
legitimate characters.
126+
127+
..
128+
129+
.. date: 2024-08-16-19-13-21
130+
.. gh-issue: 123067
131+
.. nonce: Nx9O4R
132+
.. section: Library
133+
134+
Fix quadratic complexity in parsing ``"``-quoted cookie values with
135+
backslashes by :mod:`http.cookies`.
136+
137+
..
138+
139+
.. date: 2024-07-27-16-10-41
140+
.. gh-issue: 121650
141+
.. nonce: nf6oc9
142+
.. section: Library
143+
144+
:mod:`email` headers with embedded newlines are now quoted on output. The
145+
:mod:`~email.generator` will now refuse to serialize (write) headers that
146+
are unsafely folded or delimited; see
147+
:attr:`~email.policy.Policy.verify_generated_headers`. (Contributed by Bas
148+
Bloemsaat and Petr Viktorin in :gh:`121650`.)
149+
150+
..
151+
152+
.. date: 2024-03-14-01-38-44
153+
.. gh-issue: 113171
154+
.. nonce: VFnObz
155+
.. section: Library
156+
157+
Fixed various false positives and false negatives in
158+
159+
* :attr:`ipaddress.IPv4Address.is_private` (see these docs for details)
160+
* :attr:`ipaddress.IPv4Address.is_global`
161+
* :attr:`ipaddress.IPv6Address.is_private`
162+
* :attr:`ipaddress.IPv6Address.is_global`
163+
164+
Also in the corresponding :class:`ipaddress.IPv4Network` and
165+
:class:`ipaddress.IPv6Network` attributes.
166+
167+
..
168+
169+
.. date: 2023-10-20-15-28-08
170+
.. gh-issue: 102988
171+
.. nonce: dStNO7
172+
.. section: Library
173+
174+
:func:`email.utils.getaddresses` and :func:`email.utils.parseaddr` now
175+
return ``('', '')`` 2-tuples in more situations where invalid email
176+
addresses are encountered instead of potentially inaccurate values. Add
177+
optional *strict* parameter to these two functions: use ``strict=False`` to
178+
get the old behavior, accept malformed inputs. ``getattr(email.utils,
179+
'supports_strict_parsing', False)`` can be use to check if the *strict*
180+
paramater is available. Patch by Thomas Dwyer and Victor Stinner to improve
181+
the CVE-2023-27043 fix.
182+
183+
..
184+
185+
.. date: 2019-08-27-01-16-50
186+
.. gh-issue: 67693
187+
.. nonce: 4NIAiy
188+
.. section: Library
189+
190+
Fix :func:`urllib.parse.urlunparse` and :func:`urllib.parse.urlunsplit` for
191+
URIs with path starting with multiple slashes and no authority. Based on
192+
patch by Ashwin Ramaswami.
193+
194+
..
195+
196+
.. date: 2024-09-04-18-20-11
197+
.. gh-issue: 112275
198+
.. nonce: W_iMiB
199+
.. section: Core and Builtins
200+
201+
A deadlock involving ``pystate.c``'s ``HEAD_LOCK`` in ``posixmodule.c`` at
202+
fork is now fixed. Patch by ChuBoning based on previous Python 3.12 fix by
203+
Victor Stinner.

Misc/NEWS.d/next/Core_and_Builtins/2024-09-04-18-20-11.gh-issue-112275.W_iMiB.rst

-3
This file was deleted.

Misc/NEWS.d/next/Library/2019-08-27-01-16-50.gh-issue-67693.4NIAiy.rst

-2
This file was deleted.

Misc/NEWS.d/next/Library/2023-10-20-15-28-08.gh-issue-102988.dStNO7.rst

-8
This file was deleted.

Misc/NEWS.d/next/Library/2024-03-14-01-38-44.gh-issue-113171.VFnObz.rst

-9
This file was deleted.

Misc/NEWS.d/next/Library/2024-07-27-16-10-41.gh-issue-121650.nf6oc9.rst

-5
This file was deleted.

Misc/NEWS.d/next/Library/2024-08-16-19-13-21.gh-issue-123067.Nx9O4R.rst

-1
This file was deleted.

Misc/NEWS.d/next/Library/2024-08-26-13-45-20.gh-issue-123270.gXHvNJ.rst

-3
This file was deleted.

Misc/NEWS.d/next/Security/2024-03-27-13-50-02.gh-issue-116741.ZoGryG.rst

-1
This file was deleted.

Misc/NEWS.d/next/Security/2024-04-19-11-21-13.gh-issue-114572.t1QMQD.rst

-4
This file was deleted.

Misc/NEWS.d/next/Security/2024-05-01-20-57-09.gh-issue-118486.K44KJG.rst

-4
This file was deleted.

Misc/NEWS.d/next/Security/2024-07-02-13-39-20.gh-issue-121285.hrl-yI.rst

-2
This file was deleted.

Misc/NEWS.d/next/Security/2024-07-22-13-11-28.gh-issue-122133.0mPeta.rst

-5
This file was deleted.

Misc/NEWS.d/next/Security/2024-07-22-13-14-38.gh-issue-121957.FYkcOt.rst

-3
This file was deleted.

Misc/NEWS.d/next/Security/2024-09-04-12-41-35.gh-issue-123678.N41y9n.rst

-1
This file was deleted.

Misc/NEWS.d/next/Tests/2024-03-24-23-49-25.gh-issue-117187.eMLT5n.rst

-1
This file was deleted.

Misc/NEWS.d/next/Tests/2024-05-25-17-06-01.gh-issue-112769.kdLJmS.rst

-3
This file was deleted.

Misc/NEWS.d/next/Windows/2024-03-14-01-58-22.gh-issue-116773.H2UldY.rst

-1
This file was deleted.

Misc/NEWS.d/next/Windows/2024-05-29-17-05-28.gh-issue-119690.U6RMtm.rst

-2
This file was deleted.

README.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
This is Python version 3.8.19
1+
This is Python version 3.8.20
22
=============================
33

44
.. image:: https://travis-ci.org/python/cpython.svg?branch=3.8

0 commit comments

Comments
 (0)