Skip to content

Commit 0fb18b0

Browse files
committed
Python 3.12.0
1 parent f4f919e commit 0fb18b0

12 files changed

+134
-72
lines changed

Include/patchlevel.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@
1919
#define PY_MAJOR_VERSION 3
2020
#define PY_MINOR_VERSION 12
2121
#define PY_MICRO_VERSION 0
22-
#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_GAMMA
23-
#define PY_RELEASE_SERIAL 3
22+
#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_FINAL
23+
#define PY_RELEASE_SERIAL 0
2424

2525
/* Version as a string */
26-
#define PY_VERSION "3.12.0rc3+"
26+
#define PY_VERSION "3.12.0"
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: 55 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- coding: utf-8 -*-
2-
# Autogenerated by Sphinx on Mon Sep 18 21:47:37 2023
2+
# Autogenerated by Sphinx on Mon Oct 2 13:45:14 2023
33
# as part of the release process.
44
topics = {'assert': 'The "assert" statement\n'
55
'**********************\n'
@@ -13016,71 +13016,71 @@
1301613016
'those\n'
1301713017
'used by Standard C. The recognized escape sequences are:\n'
1301813018
'\n'
13019-
'+-------------------+-----------------------------------+---------+\n'
13020-
'| Escape Sequence | Meaning | Notes '
13021-
'|\n'
13022-
'|===================|===================================|=========|\n'
13023-
'| "\\"<newline> | Backslash and newline ignored | '
13024-
'(1) |\n'
13025-
'+-------------------+-----------------------------------+---------+\n'
13026-
'| "\\\\" | Backslash ("\\") '
13019+
'+---------------------------+-----------------------------------+---------+\n'
13020+
'| Escape Sequence | Meaning | '
13021+
'Notes |\n'
13022+
'|===========================|===================================|=========|\n'
13023+
'| "\\"<newline> | Backslash and newline ignored '
13024+
'| (1) |\n'
13025+
'+---------------------------+-----------------------------------+---------+\n'
13026+
'| "\\\\" | Backslash '
13027+
'("\\") | |\n'
13028+
'+---------------------------+-----------------------------------+---------+\n'
13029+
'| "\\\'" | Single quote '
13030+
'("\'") | |\n'
13031+
'+---------------------------+-----------------------------------+---------+\n'
13032+
'| "\\"" | Double quote (""") '
1302713033
'| |\n'
13028-
'+-------------------+-----------------------------------+---------+\n'
13029-
'| "\\\'" | Single quote ("\'") '
13034+
'+---------------------------+-----------------------------------+---------+\n'
13035+
'| "\\a" | ASCII Bell (BEL) '
1303013036
'| |\n'
13031-
'+-------------------+-----------------------------------+---------+\n'
13032-
'| "\\"" | Double quote (""") '
13037+
'+---------------------------+-----------------------------------+---------+\n'
13038+
'| "\\b" | ASCII Backspace (BS) '
1303313039
'| |\n'
13034-
'+-------------------+-----------------------------------+---------+\n'
13035-
'| "\\a" | ASCII Bell (BEL) '
13040+
'+---------------------------+-----------------------------------+---------+\n'
13041+
'| "\\f" | ASCII Formfeed (FF) '
1303613042
'| |\n'
13037-
'+-------------------+-----------------------------------+---------+\n'
13038-
'| "\\b" | ASCII Backspace (BS) '
13043+
'+---------------------------+-----------------------------------+---------+\n'
13044+
'| "\\n" | ASCII Linefeed (LF) '
1303913045
'| |\n'
13040-
'+-------------------+-----------------------------------+---------+\n'
13041-
'| "\\f" | ASCII Formfeed (FF) '
13046+
'+---------------------------+-----------------------------------+---------+\n'
13047+
'| "\\r" | ASCII Carriage Return (CR) '
1304213048
'| |\n'
13043-
'+-------------------+-----------------------------------+---------+\n'
13044-
'| "\\n" | ASCII Linefeed (LF) '
13049+
'+---------------------------+-----------------------------------+---------+\n'
13050+
'| "\\t" | ASCII Horizontal Tab (TAB) '
1304513051
'| |\n'
13046-
'+-------------------+-----------------------------------+---------+\n'
13047-
'| "\\r" | ASCII Carriage Return (CR) '
13052+
'+---------------------------+-----------------------------------+---------+\n'
13053+
'| "\\v" | ASCII Vertical Tab (VT) '
1304813054
'| |\n'
13049-
'+-------------------+-----------------------------------+---------+\n'
13050-
'| "\\t" | ASCII Horizontal Tab (TAB) '
13051-
'| |\n'
13052-
'+-------------------+-----------------------------------+---------+\n'
13053-
'| "\\v" | ASCII Vertical Tab (VT) '
13054-
'| |\n'
13055-
'+-------------------+-----------------------------------+---------+\n'
13056-
'| "\\ooo" | Character with octal value *ooo* | '
13057-
'(2,4) |\n'
13058-
'+-------------------+-----------------------------------+---------+\n'
13059-
'| "\\xhh" | Character with hex value *hh* | '
13060-
'(3,4) |\n'
13061-
'+-------------------+-----------------------------------+---------+\n'
13055+
'+---------------------------+-----------------------------------+---------+\n'
13056+
'| "\\*ooo*" | Character with octal value *ooo* '
13057+
'| (2,4) |\n'
13058+
'+---------------------------+-----------------------------------+---------+\n'
13059+
'| "\\x*hh*" | Character with hex value *hh* '
13060+
'| (3,4) |\n'
13061+
'+---------------------------+-----------------------------------+---------+\n'
1306213062
'\n'
1306313063
'Escape sequences only recognized in string literals are:\n'
1306413064
'\n'
13065-
'+-------------------+-----------------------------------+---------+\n'
13066-
'| Escape Sequence | Meaning | Notes '
13067-
'|\n'
13068-
'|===================|===================================|=========|\n'
13069-
'| "\\N{name}" | Character named *name* in the | '
13070-
'(5) |\n'
13071-
'| | Unicode database | '
13072-
'|\n'
13073-
'+-------------------+-----------------------------------+---------+\n'
13074-
'| "\\uxxxx" | Character with 16-bit hex value | '
13075-
'(6) |\n'
13076-
'| | *xxxx* | '
13077-
'|\n'
13078-
'+-------------------+-----------------------------------+---------+\n'
13079-
'| "\\Uxxxxxxxx" | Character with 32-bit hex value | '
13080-
'(7) |\n'
13081-
'| | *xxxxxxxx* | '
13082-
'|\n'
13083-
'+-------------------+-----------------------------------+---------+\n'
13065+
'+---------------------------+-----------------------------------+---------+\n'
13066+
'| Escape Sequence | Meaning | '
13067+
'Notes |\n'
13068+
'|===========================|===================================|=========|\n'
13069+
'| "\\N{*name*}" | Character named *name* in the '
13070+
'| (5) |\n'
13071+
'| | Unicode database '
13072+
'| |\n'
13073+
'+---------------------------+-----------------------------------+---------+\n'
13074+
'| "\\u*xxxx*" | Character with 16-bit hex value '
13075+
'| (6) |\n'
13076+
'| | *xxxx* '
13077+
'| |\n'
13078+
'+---------------------------+-----------------------------------+---------+\n'
13079+
'| "\\U*xxxxxxxx*" | Character with 32-bit hex value '
13080+
'| (7) |\n'
13081+
'| | *xxxxxxxx* '
13082+
'| |\n'
13083+
'+---------------------------+-----------------------------------+---------+\n'
1308413084
'\n'
1308513085
'Notes:\n'
1308613086
'\n'

Misc/NEWS.d/3.12.0.rst

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
.. date: 2023-09-25-14-28-14
2+
.. gh-issue: 109823
3+
.. nonce: kbVTKF
4+
.. release date: 2023-10-02
5+
.. section: Core and Builtins
6+
7+
Fix bug where compiler does not adjust labels when removing an empty basic
8+
block which is a jump target.
9+
10+
..
11+
12+
.. date: 2023-09-22-13-38-17
13+
.. gh-issue: 109719
14+
.. nonce: fx5OTz
15+
.. section: Core and Builtins
16+
17+
Fix missing jump target labels when compiler reorders cold/warm blocks.
18+
19+
..
20+
21+
.. date: 2023-09-20-23-04-15
22+
.. gh-issue: 109627
23+
.. nonce: xxe7De
24+
.. section: Core and Builtins
25+
26+
Fix bug where the compiler does not assign a new jump target label to a
27+
duplicated small exit block.
28+
29+
..
30+
31+
.. date: 2023-09-28-18-08-02
32+
.. gh-issue: 110045
33+
.. nonce: 0YIGKv
34+
.. section: Library
35+
36+
Update the :mod:`symtable` module to support the new scopes introduced by
37+
:pep:`695`.
38+
39+
..
40+
41+
.. date: 2023-09-10-02-39-06
42+
.. gh-issue: 109209
43+
.. nonce: 0LBewo
44+
.. section: Documentation
45+
46+
The minimum Sphinx version required for the documentation is now 4.2.
47+
48+
..
49+
50+
.. date: 2023-09-28-17-09-23
51+
.. gh-issue: 109991
52+
.. nonce: CIMftz
53+
.. section: Windows
54+
55+
Update Windows build to use OpenSSL 3.0.11.
56+
57+
..
58+
59+
.. date: 2023-09-27-22-35-22
60+
.. gh-issue: 109991
61+
.. nonce: -xJzaF
62+
.. section: macOS
63+
64+
Update macOS installer to use OpenSSL 3.0.11.
65+
66+
..
67+
68+
.. date: 2023-09-27-23-31-54
69+
.. gh-issue: 109991
70+
.. nonce: sUUYY8
71+
.. section: Tools/Demos
72+
73+
Update GitHub CI workflows to use OpenSSL 3.0.11 and multissltests to use
74+
1.1.1w, 3.0.11, and 3.1.3.

Misc/NEWS.d/next/Core and Builtins/2023-09-20-23-04-15.gh-issue-109627.xxe7De.rst

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

Misc/NEWS.d/next/Core and Builtins/2023-09-22-13-38-17.gh-issue-109719.fx5OTz.rst

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

Misc/NEWS.d/next/Core and Builtins/2023-09-25-14-28-14.gh-issue-109823.kbVTKF.rst

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

Misc/NEWS.d/next/Documentation/2023-09-10-02-39-06.gh-issue-109209.0LBewo.rst

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

Misc/NEWS.d/next/Library/2023-09-28-18-08-02.gh-issue-110045.0YIGKv.rst

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

Misc/NEWS.d/next/Tools-Demos/2023-09-27-23-31-54.gh-issue-109991.sUUYY8.rst

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

Misc/NEWS.d/next/Windows/2023-09-28-17-09-23.gh-issue-109991.CIMftz.rst

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

0 commit comments

Comments
 (0)