8000 Python 3.11.12 · python/cpython@da1f6c6 · GitHub
[go: up one dir, main page]

Skip to content

Commit da1f6c6

Browse files
committed
Python 3.11.12
1 parent 553d706 commit da1f6c6

13 files changed

+109
-36
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 11
21-
#define PY_MICRO_VERSION 11
21+
#define PY_MICRO_VERSION 12
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.11.11+"
26+
#define PY_VERSION "3.11.12"
2727
/*--end constants--*/
2828

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

Lib/pydoc_data/topics.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- coding: utf-8 -*-
2-
# Autogenerated by Sphinx on Tue Dec 3 12:19:55 2024
2+
# Autogenerated by Sphinx on Tue Apr 8 15:15:17 2025
33
# as part of the release process.
44
topics = {'assert': 'The "assert" statement\n'
55
'**********************\n'

Misc/NEWS.d/3.11.12.rst

+104
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
.. date: 2025-04-07-04-11-08
2+
.. gh-issue: 131809
3+
.. nonce: 4MBDuy
4+
.. release date: 2025-04-08
5+
.. section: Security
6+
7+
Update bundled libexpat to 2.7.1
8+
9+
..
10+
11+
.. date: 2025-03-14-23-28-39
12+
.. gh-issue: 131261
13+
.. nonce: 0aB6nM
14+
.. section: Security
15+
16+
Upgrade to libexpat 2.7.0
17+
18+
..
19+
20+
.. date: 2025-01-28-14-08-03
21+
.. gh-issue: 105704
22+
.. nonce: EnhHxu
23+
.. section: Security
24+
25+
When using :func:`urllib.parse.urlsplit` and :func:`urllib.parse.urlparse`
26+
host parsing would not reject domain names containing square brackets (``[``
27+
and ``]``). Square brackets are only valid for IPv6 and IPvFuture hosts
28+
according to `RFC 3986 Section 3.2.2
29+
<https://www.rfc-editor.org/rfc/rfc3986#section-3.2.2>`__.
30+
31+
..
32+
33+
.. date: 2024-08-06-12-27-34
34+
.. gh-issue: 121284
35+
.. nonce: 8rwPxe
36+
.. section: Security
37+
38+
Fix bug in the folding of rfc2047 encoded-words when flattening an email
39+
message using a modern email policy. Previously when an encoded-word was too
40+
long for a line, it would be decoded, split across lines, and re-encoded.
41+
But commas and other special characters in the original text could be left
42+
unencoded and unquoted. This could theoretically be used to spoof header
43+
lines using a carefully constructed encoded-word if the resulting rendered
44+
email was transmitted or re-parsed.
45+
46+
..
47+
48+
.. date: 2024-08-06-11-43-08
49+
.. gh-issue: 80222
50+
.. nonce: wfR4BU
51+
.. section: Security
52+
53+
Fix bug in the folding of quoted strings when flattening an email message
54+
using a modern email policy. Previously when a quoted string was folded so
55+
that it spanned more than one line, the surrounding quotes and internal
56+
escapes would be omitted. This could theoretically be used to spoof header
57+
lines using a carefully constructed quoted string if the resulting rendered
58+
email was transmitted or re-parsed.
59+
60+
..
61+
62+
.. date: 2024-05-24-21-00-52
63+
.. gh-issue: 119511
64+
.. nonce: jKrXQ8
65+
.. section: Security
66+
67+
Fix a potential denial of service in the :mod:`imaplib` module. When
68+
connecting to a malicious server, it could cause an arbitrary amount of
69+
memory to be allocated. On many systems this is harmless as unused virtual
70+
memory is only a mapping, but if this hit a virtual address size limit it
71+
could lead to a :exc:`MemoryError` or other process crash. On unusual
72+
systems or builds where all allocated memory is touched and backed by actual
73+
ram or storage it could've consumed resources doing so until similarly
74+
crashing.
75+
76+
..
77+
78+
.. date: 2024-11-28-14-14-46
79+
.. gh-issue: 127257
80+
.. nonce: n6-jU9
81+
.. section: Library
82+
83+
In :mod:`ssl`, system call failures that OpenSSL reports using
84+
``ERR_LIB_SYS`` are now raised as :exc:`OSError`.
85+
86+
..
87+
88+
.. date: 2024-07-19-12-22-48
89+
.. gh-issue: 121277
90+
.. nonce: wF_zKd
91+
.. section: Documentation
92+
93+
Writers of CPython's documentation can now use ``next`` as the version for
94+
the ``versionchanged``, ``versionadded``, ``deprecated`` directives.
95+
96+
..
97+
98+
.. date: 2024-04-05-14-32-21
99+
.. gh-issue: 106883
100+
.. nonce: OKmc0Q
101+
.. section: C API
102+
103+
Disable GC during the _PyThread_CurrentFrames() and
104+
_PyThread_CurrentExceptions() calls to avoid the interpreter to deadlock.

Misc/NEWS.d/next/C API/2024-04-05-14-32-21.gh-issue-106883.OKmc0Q.rst

-1
This file was deleted.

Misc/NEWS.d/next/Documentation/2024-07-19-12-22-48.gh-issue-121277.wF_zKd.rst

-2
This file was deleted.

Misc/NEWS.d/next/Library/2024-11-28-14-14-46.gh-issue-127257.n6-jU9.rst

-2
This file was deleted.

Misc/NEWS.d/next/Security/2024-05-24-21-00-52.gh-issue-119511.jKrXQ8.rst

-7
This file was deleted.

Misc/NEWS.d/next/Security/2024-08-06-11-43-08.gh-issue-80222.wfR4BU.rst

-6
This file was deleted.

Misc/NEWS.d/next/Security/2024-08-06-12-27-34.gh-issue-121284.8rwPxe.rst

-7
This file was deleted.

Misc/NEWS.d/next/Security/2025-01-28-14-08-03.gh-issue-105704.EnhHxu.rst

-4
This file was deleted.

Misc/NEWS.d/next/Security/2025-03-14-23-28-39.gh-issue-131261.0aB6nM.rst

-1
This file was deleted.

Misc/NEWS.d/next/Security/2025-04-07-04-11-08.gh-issue-131809.4MBDuy.rst

-1
This file was deleted.

README.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
This is Python version 3.11.11
1+
This is Python version 3.11.12
22
==============================
33

44
.. image:: https://github.com/python/cpython/workflows/Tests/badge.svg
@@ -229,4 +229,4 @@ This Python distribution contains *no* GNU General Public License (GPL) code,
229229
so it may be used in proprietary projects. There are interfaces to some GNU
230230
code but these are entirely optional.
231231

232-
All trademarks referenced herein are property of their respective holders.
232+
All trademarks referenced herein are property of their respective holders.

0 commit comments

Comments
 (0)
0