Skip to content

Commit a743f81

Browse files
committed
Python 3.8.9
1 parent 154f86f commit a743f81

30 files changed

+285
-75
lines changed

Include/patchlevel.h

Lines changed: 2 additions & 2 deletions
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 8
21+
#define PY_MICRO_VERSION 9
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.8+"
26+
#define PY_VERSION "3.8.9"
2727
/*--end constants--*/
2828

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

Lib/pydoc_data/topics.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- coding: utf-8 -*-
2-
# Autogenerated by Sphinx on Fri Feb 19 11:26:48 2021
2+
# Autogenerated by Sphinx on Fri Apr 2 12:30:35 2021
33
topics = {'assert': 'The "assert" statement\n'
44
'**********************\n'
55
'\n'
@@ -5003,9 +5003,11 @@
50035003
'"Formatter",\n'
50045004
'subclasses can define their own format string syntax). The '
50055005
'syntax is\n'
5006-
'related to that of formatted string literals, but there '
5007-
'are\n'
5008-
'differences.\n'
5006+
'related to that of formatted string literals, but it is '
5007+
'less\n'
5008+
'sophisticated and, in particular, does not support '
5009+
'arbitrary\n'
5010+
'expressions.\n'
50095011
'\n'
50105012
'Format strings contain “replacement fields” surrounded by '
50115013
'curly braces\n'

Misc/NEWS.d/3.8.9.rst

Lines changed: 276 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,276 @@
1+
.. bpo: 42988
2+
.. date: 2021-03-24-14-16-56
3+
.. nonce: P2aNco
4+
.. release date: 2021-04-02
5+
.. section: Security
6+
7+
CVE-2021-3426: Remove the ``getfile`` feature of the :mod:`pydoc` module
8+
which could be abused to read arbitrary files on the disk (directory
9+
traversal vulnerability). Moreover, even source code of Python modules can
10+
contain sensitive data like passwords. Vulnerability reported by David
11+
Schwörer.
12+
13+
..
14+
15+
.. bpo: 43285
16+
.. date: 2021-03-13-03-48-14
17+
.. nonce: g-Hah3
18+
.. section: Security
19+
20+
:mod:`ftplib` no longer trusts the IP address value returned from the server
21+
in response to the PASV command by default. This prevents a malicious FTP
22+
server from using the response to probe IPv4 address and port combinations
23+
on the client network.
24+
25+
Code that requires the former vulnerable behavior may set a
26+
``trust_server_pasv_ipv4_address`` attribute on their :class:`ftplib.FTP`
27+
instances to ``True`` to re-enable it.
28+
29+
..
30+
31+
.. bpo: 43439
32+
.. date: 2021-03-08-23-06-07
33+
.. nonce: 5U3lXm
34+
.. section: Security
35+
36+
Add audit hooks for :func:`gc.get_objects`, :func:`gc.get_referrers` and
37+
:func:`gc.get_referents`. Patch by Pablo Galindo.
38+
39+
..
40+
41+
.. bpo: 43660
42+
.. date: 2021-03-29-19-50-34
43+
.. nonce: scTgag
44+
.. section: Core and Builtins
45+
46+
Fix crash that happens when replacing ``sys.stderr`` with a callable that
47+
can remove the object while an exception is being printed. Patch by Pablo
48+
Galindo.
49+
50+
..
51+
52+
.. bpo: 35883
53+
.. date: 2021-03-13-13-57-21
54+
.. nonce: UyGpdG
55+
.. section: Core and Builtins
56+
57+
Python no longer fails at startup with a fatal error if a command line
58+
argument contains an invalid Unicode character. The
59+
:c:func:`Py_DecodeLocale` function now escapes byte sequences which would be
60+
decoded as Unicode characters outside the [U+0000; U+10ffff] range.
61+
62+
..
63+
64+
.. bpo: 43406
65+
.. date: 2021-03-04-22-53-10
66+
.. nonce: Na_VpA
67+
.. section: Core and Builtins
68+
69+
Fix a possible race condition where ``PyErr_CheckSignals`` tries to execute
70+
a non-Python signal handler.
71+
72+
..
73+
74+
.. bpo: 35930
75+
.. date: 2021-03-23-17-18-56
76+
.. nonce: RZ51pM
77+
.. section: Library
78+
79+
Raising an exception raised in a "future" instance will create reference
80+
cycles.
81+
82+
..
83+
84+
.. bpo: 43577
85+
.. date: 2021-03-21-10-13-17
86+
.. nonce: m7JnAV
87+
.. section: Library
88+
89+
Fix deadlock when using :class:`ssl.SSLContext` debug callback with
90+
:meth:`ssl.SSLContext.sni_callback`.
91+
92+
..
93+
94+
.. bpo: 43423
95+
.. date: 2021-03-11-15-44-18
96+
.. nonce: rRomRD
97+
.. section: Library
98+
99+
:func:`subprocess.communicate` no longer raises an IndexError when there is
100+
an empty stdout or stderr IO buffer during a timeout on Windows.
101+
102+
..
103+
104+
.. bpo: 27820
105+
.. date: 2021-03-10-14-07-44
106+
.. nonce: Wwdy-r
107+
.. section: Library
108+
109+
Fixed long-standing bug of smtplib.SMTP where doing AUTH LOGIN with
110+
initial_response_ok=False will fail.
111+
112+
The cause is that SMTP.auth_login _always_ returns a password if provided
113+
with a challenge string, thus non-compliant with the standard for AUTH
114+
LOGIN.
115+
116+
Also fixes bug with the test for smtpd.
117+
118+
..
119+
120+
.. bpo: 43399
121+
.. date: 2021-03-04-17-53-46
122+
.. nonce: Wn95u-
123+
.. section: Library
124+
125+
Fix ``ElementTree.extend`` not working on iterators when using the Python
126+
implementation
127+
128+
..
129+
130+
.. bpo: 43316
131+
.. date: 2021-02-25-09-44-36
132+
.. nonce: k9Gyqn
133+
.. section: Library
134+
135+
The ``python -m gzip`` command line application now properly fails when
136+
detecting an unsupported extension. It exits with a non-zero exit code and
137+
prints an error message to stderr.
138+
139+
..
140+
141+
.. bpo: 43260
142+
.. date: 2021-02-20-12-15-29
143+
.. nonce: 6znAas
144+
.. section: Library
145+
146+
Fix TextIOWrapper can not flush internal buffer forever after very large
147+
text is written.
148+
149+
..
150+
151+
.. bpo: 42782
152+
.. date: 2020-12-29-13-46-57
153+
.. nonce: 3r0HFY
154+
.. section: Library
155+
156+
Fail fast in :func:`shutil.move()` to avoid creating destination directories
157+
on failure.
158+
159+
..
160+
161+
.. bpo: 37193
162+
.. date: 2020-06-12-21-23-20
163+
.. nonce: wJximU
164+
.. section: Library
165+
166+
Fixed memory leak in ``socketserver.ThreadingMixIn`` introduced in Python
167+
3.7.
168+
169+
..
170+
171+
.. bpo: 43199
172+
.. date: 2021-03-13-18-43-54
173+
.. nonce: ZWA6KX
174+
.. section: Documentation
175+
176+
Answer "Why is there no goto?" in the Design and History FAQ.
177+
178+
..
179+
180+
.. bpo: 43407
181+
.. date: 2021-03-04-22-53-03
182+
.. nonce: x570l5
183+
.. section: Documentation
184+
185+
Clarified that a result from :func:`time.monotonic`,
186+
:func:`time.perf_counter`, :func:`time.process_time`, or
187+
:func:`time.thread_time` can be compared with the result from any following
188+
call to the same function - not just the next immediate call.
189+
190+
..
191+
192+
.. bpo: 27646
193+
.. date: 2021-02-20-00-09-13
194+
.. nonce: HRsmo-
195+
.. section: Documentation
196+
197+
Clarify that 'yield from <expr>' works with any iterable, not just
198+
iterators.
199+
200+
..
201+
202+
.. bpo: 36346
203+
.. date: 2020-06-15-10-45-45
204+
.. nonce: H0sS_i
205+
.. section: Documentation
206+
207+
Update some deprecated unicode APIs which are documented as "will be removed
208+
in 4.0" to "3.12". See :pep:`623` for detail.
209+
210+
..
211+
212+
.. bpo: 37945
213+
.. date: 2021-03-31-11-38-42
214+
.. nonce: HTUYhv
215+
.. section: Tests
216+
217+
Fix test_getsetlocale_issue1813() of test_locale: skip the test if
218+
``setlocale()`` fails. Patch by Victor Stinner.
219+
220+
..
221+
222+
.. bpo: 41561
223+
.. date: 2021-03-18-10-34-42
224+
.. nonce: pDg4w-
225+
.. section: Tests
226+
227+
Add workaround for Ubuntu's custom OpenSSL security level policy.
228+
229+
..
230+
231+
.. bpo: 43631
232+
.. date: 2021-03-26-09-16-34
233+
.. nonce: msJyPi
234+
.. section: Build
235+
236+
Update macOS, Windows, and CI to OpenSSL 1.1.1k.
237+
238+
..
239+
240+
.. bpo: 43617
241+
.. date: 2021-03-24-16-55-55
242+
.. nonce: d69KAv
243+
.. section: Build
244+
245+
Improve configure.ac: Check for presence of autoconf-archive package and
246+
remove our copies of M4 macros.
247+
248+
..
249+
250+
.. bpo: 41837
251+
.. date: 2021-02-28-22-49-46
252+
.. nonce: 9fqyXC
253+
.. section: macOS
254+
255+
Update macOS installer build to use OpenSSL 1.1.1j.
256+
257+
..
258+
259+
.. bpo: 42225
260+
.. date: 2021-03-29-16-22-27
261+
.. nonce: iIeiLg
262+
.. section: IDLE
263+
264+
Document that IDLE can fail on Unix either from misconfigured IP masquerage
265+
rules or failure displaying complex colored (non-ascii) characters.
266+
267+
..
268+
269+
.. bpo: 43283
270+
.. date: 2021-02-21-16-30-10
271+
.. nonce: DLBwYn
272+
.. section: IDLE
273+
274+
Document why printing to IDLE's Shell is often slower than printing to a
275+
system terminal and that it can be made faster by pre-formatting a single
276+
string before printing.

Misc/NEWS.d/next/Build/2021-03-24-16-55-55.bpo-43617.d69KAv.rst

Lines changed: 0 additions & 2 deletions
This file was deleted.

Misc/NEWS.d/next/Build/2021-03-26-09-16-34.bpo-43631.msJyPi.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

Misc/NEWS.d/next/Core and Builtins/2021-03-04-22-53-10.bpo-43406.Na_VpA.rst

Lines changed: 0 additions & 2 deletions
This file was deleted.

Misc/NEWS.d/next/Core and Builtins/2021-03-13-13-57-21.bpo-35883.UyGpdG.rst

Lines changed: 0 additions & 4 deletions
This file was deleted.

Misc/NEWS.d/next/Core and Builtins/2021-03-29-19-50-34.bpo-43660.scTgag.rst

Lines changed: 0 additions & 3 deletions
This file was deleted.

Misc/NEWS.d/next/Documentation/2020-06-15-10-45-45.bpo-36346.H0sS_i.rst

Lines changed: 0 additions & 2 deletions
This file was deleted.

Misc/NEWS.d/next/Documentation/2021-02-20-00-09-13.bpo-27646.HRsmo-.rst

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)