Skip to content

Commit 4a5632f

Browse files
committed
Python 3.12.12
1 parent 26534f4 commit 4a5632f

17 files changed

+159
-57
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 12
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.12.11+"
26+
#define PY_VERSION "3.12.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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Autogenerated by Sphinx on Tue Jun 3 17:41:43 2025
1+
# Autogenerated by Sphinx on Thu Oct 9 13:06:56 2025
22
# as part of the release process.
33

44
topics = {

Misc/NEWS.d/3.12.12.rst

Lines changed: 155 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,155 @@
1+
.. date: 2025-09-25-10-31-02
2+
.. gh-issue: 139330
3+
.. nonce: 5WWkY0
4+
.. release date: 2025-10-09
5+
.. section: Tools/Demos
6+
7+
SBOM generation tool didn't cross-check the version and checksum values
8+
against the ``Modules/expat/refresh.sh`` script, leading to the values
9+
becoming out-of-date during routine updates.
10+
11+
..
12+
13+
.. date: 2025-10-07-19-31-34
14+
.. gh-issue: 139700
15+
.. nonce: vNHU1O
16+
.. section: Security
17+
18+
Check consistency of the zip64 end of central directory record. Support
19+
records with "zip64 extensible data" if there are no bytes prepended to the
20+
ZIP file.
21+
22+
..
23+
24+
.. date: 2025-09-29-00-01-28
25+
.. gh-issue: 139400
26+
.. nonce: X2T-jO
27+
.. section: Security
28+
29+
:mod:`xml.parsers.expat`: Make sure that parent Expat parsers are only
30+
garbage-collected once they are no longer referenced by subparsers created
31+
by :meth:`~xml.parsers.expat.xmlparser.ExternalEntityParserCreate`. Patch by
32+
Sebastian Pipping.
33+
34+
..
35+
36+
.. date: 2025-06-25-14-13-39
37+
.. gh-issue: 135661
38+
.. nonce: idjQ0B
39+
.. section: Security
40+
41+
Fix parsing start and end tags in :class:`html.parser.HTMLParser` according
42+
to the HTML5 standard.
43+
44+
* Whitespaces no longer accepted between ``</`` and the tag name.
45+
E.g. ``</ script>`` does not end the script section.
46+
47+
* Vertical tabulation (``\v``) and non-ASCII whitespaces no longer recognized
48+
as whitespaces. The only whitespaces are ``\t\n\r\f`` and space.
49+
50+
* Null character (U+0000) no longer ends the tag name.
51+
52+
* Attributes and slashes after the tag name in end tags are now ignored,
53+
instead of terminating after the first ``>`` in quoted attribute value.
54+
E.g. ``</script/foo=">"/>``.
55+
56+
* Multiple slashes and whitespaces between the last attribute and closing ``>``
57+
are now ignored in both start and end tags. E.g. ``<a foo=bar/ //>``.
58+
59+
* Multiple ``=`` between attribute name and value are no longer collapsed.
60+
E.g. ``<a foo==bar>`` produces attribute "foo" with value "=bar".
61+
62+
..
63+
64+
.. date: 2025-06-18-13-34-55
65+
.. gh-issue: 135661
66+
.. nonce: NZlpWf
67+
.. section: Security
68+
69+
Fix CDATA section parsing in :class:`html.parser.HTMLParser` according to
70+
the HTML5 standard: ``] ]>`` and ``]] >`` no longer end the CDATA section.
71+
Add private method ``_set_support_cdata()`` which can be used to specify how
72+
to parse ``<[CDATA[`` --- as a CDATA section in foreign content (SVG or
73+
MathML) or as a bogus comment in the HTML namespace.
74+
75+
..
76+
77+
.. date: 2025-06-18-13-28-08
78+
.. gh-issue: 102555
79+
.. nonce: nADrzJ
80+
.. section: Security
81+
82+
Fix comment parsing in :class:`html.parser.HTMLParser` according to the
83+
HTML5 standard. ``--!>`` now ends the comment. ``-- >`` no longer ends the
84+
comment. Support abnormally ended empty comments ``<-->`` and ``<--->``.
85+
86+
..
87+
88+
.. date: 2025-06-13-15-55-22
89+
.. gh-issue: 135462
90+
.. nonce: KBeJpc
91+
.. section: Security
92+
93+
Fix quadratic complexity in processing specially crafted input in
94+
:class:`html.parser.HTMLParser`. End-of-file errors are now handled
95+
according to the HTML5 specs -- comments and declarations are automatically
96+
closed, tags are ignored.
97+
98+
..
99+
100+
.. date: 2025-06-09-20-38-25
101+
.. gh-issue: 118350
102+
.. nonce: KgWCcP
103+
.. section: Security
104+
105+
Fix support of escapable raw text mode (elements "textarea" and "title") in
106+
:class:`html.parser.HTMLParser`.
107+
108+
..
109+
110+
.. date: 2023-02-13-21-41-34
111+
.. gh-issue: 86155
112+
.. nonce: ppIGSC
113+
.. section: Security
114+
115+
:meth:`html.parser.HTMLParser.close` no longer loses data when the
116+
``<script>`` tag is not closed. Patch by Waylan Limberg.
117+
118+
..
119+
120+
.. date: 2025-09-25-07-33-43
121+
.. gh-issue: 139312
122+
.. nonce: ygE8AC
123+
.. section: Library
124+
125+
Upgrade bundled libexpat to 2.7.3
126+
127+
..
128+
129+
.. date: 2025-09-16-19-05-29
130+
.. gh-issue: 138998
131+
.. nonce: URl0Y_
132+
.. section: Library
133+
134+
Update bundled libexpat to 2.7.2
135+
136+
..
137+
138+
.. date: 2025-07-23-00-35-29
139+
.. gh-issue: 130577
140+
.. nonce: c7EITy
141+
.. section: Library
142+
143+
:mod:`tarfile` now validates archives to ensure member offsets are
144+
non-negative. (Contributed by Alexander Enrique Urieles Nieto in
145+
:gh:`130577`.)
146+
147+
..
148+
149+
.. date: 2025-06-09-23-57-37
150+
.. gh-issue: 130077
151+
.. nonce: MHknDB
152+
.. section: Core and Builtins
153+
154+
Properly raise custom syntax errors when incorrect syntax containing names
155+
that are prefixes of soft keywords is encountered. Patch by Pablo Galindo.

Misc/NEWS.d/next/Core and Builtins/2025-06-09-23-57-37.gh-issue-130077.MHknDB.rst

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

Misc/NEWS.d/next/Library/2025-07-23-00-35-29.gh-issue-130577.c7EITy.rst

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

Misc/NEWS.d/next/Library/2025-09-16-19-05-29.gh-issue-138998.URl0Y_.rst

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

Misc/NEWS.d/next/Library/2025-09-25-07-33-43.gh-issue-139312.ygE8AC.rst

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

Misc/NEWS.d/next/Security/2023-02-13-21-41-34.gh-issue-86155.ppIGSC.rst

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

Misc/NEWS.d/next/Security/2025-06-09-20-38-25.gh-issue-118350.KgWCcP.rst

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

Misc/NEWS.d/next/Security/2025-06-13-15-55-22.gh-issue-135462.KBeJpc.rst

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

0 commit comments

Comments
 (0)