Skip to content

Commit f3994ad

Browse files
committed
Python 3.9.21
1 parent a897b4a commit f3994ad

11 files changed

+86
-23
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 9
21-
#define PY_MICRO_VERSION 20
21+
#define PY_MICRO_VERSION 21
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.9.20+"
26+
#define PY_VERSION "3.9.21"
2727
/*--end constants--*/
2828

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

Misc/NEWS.d/3.9.21.rst

+83
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
.. date: 2024-10-07-14-13-38
2+
.. gh-issue: 125041
3+
.. nonce: PKLWDf
4+
.. release date: 2024-12-03
5+
.. section: Tests
6+
7+
Re-enable skipped tests for :mod:`zlib` on the s390x architecture: only skip
8+
checks of the compressed bytes, which can be different between zlib's
9+
software implementation and the hardware-accelerated implementation.
10+
11+
..
12+
13+
.. date: 2023-09-14-22-58-47
14+
.. gh-issue: 109396
15+
.. nonce: J1a4jR
16+
.. section: Tests
17+
18+
Fix ``test_socket.test_hmac_sha1()`` in FIPS mode. Use a longer key: FIPS
19+
mode requires at least of at least 112 bits. The previous key was only 32
20+
bits. Patch by Victor Stinner.
21+
22+
..
23+
24+
.. date: 2022-12-23-13-29-55
25+
.. gh-issue: 100454
26+
.. nonce: 3no0cW
27+
.. section: Tests
28+
29+
Fix SSL tests CI for OpenSSL 3.1+
30+
31+
..
32+
33+
.. date: 2024-11-13-11-09-12
34+
.. gh-issue: 126623
35+
.. nonce: TO7NnR
36+
.. section: Security
37+
38+
Upgrade libexpat to 2.6.4
39+
40+
..
41+
42+
.. date: 2024-08-07-10-42-13
43+
.. gh-issue: 122792
44+
.. nonce: oiTMo9
45+
.. section: Security
46+
47+
Changed IPv4-mapped ``ipaddress.IPv6Address`` to consistently use the mapped
48+
IPv4 address value for deciding properties. Properties which have their
49+
behavior fixed are ``is_multicast``, ``is_reserved``, ``is_link_local``,
50+
``is_global``, and ``is_unspecified``.
51+
52+
..
53+
54+
.. date: 2024-09-28-02-03-04
55+
.. gh-issue: 124651
56+
.. nonce: bLBGtH
57+
.. section: Library
58+
59+
Properly quote template strings in :mod:`venv` activation scripts.
60+
61+
..
62+
63+
.. date: 2023-04-26-09-54-25
64+
.. gh-issue: 103848
65+
.. nonce: aDSnpR
66+
.. section: Library
67+
68+
Add checks to ensure that ``[`` bracketed ``]`` hosts found by
69+
:func:`urllib.parse.urlsplit` are of IPv6 or IPvFuture format.
70+
71+
..
72+
73+
.. date: 2022-08-12-01-12-52
74+
.. gh-issue: 95588
75+
.. nonce: PA0FI7
76+
.. section: Documentation
77+
78+
Clarified the conflicting advice given in the :mod:`ast` documentation about
79+
:func:`ast.literal_eval` being "safe" for use on untrusted input while at
80+
the same time warning that it can crash the process. The latter statement is
81+
true and is deemed unfixable without a large amount of work unsuitable for a
82+
bugfix. So we keep the warning and no longer claim that ``literal_eval`` is
83+
safe.

Misc/NEWS.d/next/Documentation/2022-08-12-01-12-52.gh-issue-95588.PA0FI7.rst

-6
This file was deleted.

Misc/NEWS.d/next/Library/2023-04-26-09-54-25.gh-issue-103848.aDSnpR.rst

-2
This file was deleted.

Misc/NEWS.d/next/Library/2024-09-28-02-03-04.gh-issue-124651.bLBGtH.rst

-1
This file was deleted.

Misc/NEWS.d/next/Security/2024-08-07-10-42-13.gh-issue-122792.oiTMo9.rst

-3
This file was deleted.

Misc/NEWS.d/next/Security/2024-11-13-11-09-12.gh-issue-126623.TO7NnR.rst

-1
This file was deleted.

Misc/NEWS.d/next/Tests/2022-12-23-13-29-55.gh-issue-100454.3no0cW.rst

-1
This file was deleted.

Misc/NEWS.d/next/Tests/2023-09-14-22-58-47.gh-issue-109396.J1a4jR.rst

-3
This file was deleted.

Misc/NEWS.d/next/Tests/2024-10-07-14-13-38.gh-issue-125041.PKLWDf.rst

-3
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.9.20
1+
This is Python version 3.9.21
22
=============================
33

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

0 commit comments

Comments
 (0)