Python 3.12.0

This commit is contained in:
Thomas Wouters 2023-10-02 13:44:36 +02:00
parent f4f919e3d8
commit 0fb18b02c8
12 changed files with 134 additions and 72 deletions

View file

@ -19,11 +19,11 @@
#define PY_MAJOR_VERSION 3
#define PY_MINOR_VERSION 12
#define PY_MICRO_VERSION 0
#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_GAMMA
#define PY_RELEASE_SERIAL 3
#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_FINAL
#define PY_RELEASE_SERIAL 0
/* Version as a string */
#define PY_VERSION "3.12.0rc3+"
#define PY_VERSION "3.12.0"
/*--end constants--*/
/* Version as a single 4-byte hex number, e.g. 0x010502B2 == 1.5.2b2.

View file

@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
# Autogenerated by Sphinx on Mon Sep 18 21:47:37 2023
# Autogenerated by Sphinx on Mon Oct 2 13:45:14 2023
# as part of the release process.
topics = {'assert': 'The "assert" statement\n'
'**********************\n'
@ -13016,71 +13016,71 @@
'those\n'
'used by Standard C. The recognized escape sequences are:\n'
'\n'
'+-------------------+-----------------------------------+---------+\n'
'| Escape Sequence | Meaning | Notes '
'|\n'
'|===================|===================================|=========|\n'
'| "\\"<newline> | Backslash and newline ignored | '
'(1) |\n'
'+-------------------+-----------------------------------+---------+\n'
'| "\\\\" | Backslash ("\\") '
'+---------------------------+-----------------------------------+---------+\n'
'| Escape Sequence | Meaning | '
'Notes |\n'
'|===========================|===================================|=========|\n'
'| "\\"<newline> | Backslash and newline ignored '
'| (1) |\n'
'+---------------------------+-----------------------------------+---------+\n'
'| "\\\\" | Backslash '
'("\\") | |\n'
'+---------------------------+-----------------------------------+---------+\n'
'| "\\\'" | Single quote '
'("\'") | |\n'
'+---------------------------+-----------------------------------+---------+\n'
'| "\\"" | Double quote (""") '
'| |\n'
'+-------------------+-----------------------------------+---------+\n'
'| "\\\'" | Single quote ("\'") '
'+---------------------------+-----------------------------------+---------+\n'
'| "\\a" | ASCII Bell (BEL) '
'| |\n'
'+-------------------+-----------------------------------+---------+\n'
'| "\\"" | Double quote (""") '
'+---------------------------+-----------------------------------+---------+\n'
'| "\\b" | ASCII Backspace (BS) '
'| |\n'
'+-------------------+-----------------------------------+---------+\n'
'| "\\a" | ASCII Bell (BEL) '
'+---------------------------+-----------------------------------+---------+\n'
'| "\\f" | ASCII Formfeed (FF) '
'| |\n'
'+-------------------+-----------------------------------+---------+\n'
'| "\\b" | ASCII Backspace (BS) '
'+---------------------------+-----------------------------------+---------+\n'
'| "\\n" | ASCII Linefeed (LF) '
'| |\n'
'+-------------------+-----------------------------------+---------+\n'
'| "\\f" | ASCII Formfeed (FF) '
'+---------------------------+-----------------------------------+---------+\n'
'| "\\r" | ASCII Carriage Return (CR) '
'| |\n'
'+-------------------+-----------------------------------+---------+\n'
'| "\\n" | ASCII Linefeed (LF) '
'+---------------------------+-----------------------------------+---------+\n'
'| "\\t" | ASCII Horizontal Tab (TAB) '
'| |\n'
'+-------------------+-----------------------------------+---------+\n'
'| "\\r" | ASCII Carriage Return (CR) '
'+---------------------------+-----------------------------------+---------+\n'
'| "\\v" | ASCII Vertical Tab (VT) '
'| |\n'
'+-------------------+-----------------------------------+---------+\n'
'| "\\t" | ASCII Horizontal Tab (TAB) '
'| |\n'
'+-------------------+-----------------------------------+---------+\n'
'| "\\v" | ASCII Vertical Tab (VT) '
'| |\n'
'+-------------------+-----------------------------------+---------+\n'
'| "\\ooo" | Character with octal value *ooo* | '
'(2,4) |\n'
'+-------------------+-----------------------------------+---------+\n'
'| "\\xhh" | Character with hex value *hh* | '
'(3,4) |\n'
'+-------------------+-----------------------------------+---------+\n'
'+---------------------------+-----------------------------------+---------+\n'
'| "\\*ooo*" | Character with octal value *ooo* '
'| (2,4) |\n'
'+---------------------------+-----------------------------------+---------+\n'
'| "\\x*hh*" | Character with hex value *hh* '
'| (3,4) |\n'
'+---------------------------+-----------------------------------+---------+\n'
'\n'
'Escape sequences only recognized in string literals are:\n'
'\n'
'+-------------------+-----------------------------------+---------+\n'
'| Escape Sequence | Meaning | Notes '
'|\n'
'|===================|===================================|=========|\n'
'| "\\N{name}" | Character named *name* in the | '
'(5) |\n'
'| | Unicode database | '
'|\n'
'+-------------------+-----------------------------------+---------+\n'
'| "\\uxxxx" | Character with 16-bit hex value | '
'(6) |\n'
'| | *xxxx* | '
'|\n'
'+-------------------+-----------------------------------+---------+\n'
'| "\\Uxxxxxxxx" | Character with 32-bit hex value | '
'(7) |\n'
'| | *xxxxxxxx* | '
'|\n'
'+-------------------+-----------------------------------+---------+\n'
'+---------------------------+-----------------------------------+---------+\n'
'| Escape Sequence | Meaning | '
'Notes |\n'
'|===========================|===================================|=========|\n'
'| "\\N{*name*}" | Character named *name* in the '
'| (5) |\n'
'| | Unicode database '
'| |\n'
'+---------------------------+-----------------------------------+---------+\n'
'| "\\u*xxxx*" | Character with 16-bit hex value '
'| (6) |\n'
'| | *xxxx* '
'| |\n'
'+---------------------------+-----------------------------------+---------+\n'
'| "\\U*xxxxxxxx*" | Character with 32-bit hex value '
'| (7) |\n'
'| | *xxxxxxxx* '
'| |\n'
'+---------------------------+-----------------------------------+---------+\n'
'\n'
'Notes:\n'
'\n'

74
Misc/NEWS.d/3.12.0.rst Normal file
View file

@ -0,0 +1,74 @@
.. date: 2023-09-25-14-28-14
.. gh-issue: 109823
.. nonce: kbVTKF
.. release date: 2023-10-02
.. section: Core and Builtins
Fix bug where compiler does not adjust labels when removing an empty basic
block which is a jump target.
..
.. date: 2023-09-22-13-38-17
.. gh-issue: 109719
.. nonce: fx5OTz
.. section: Core and Builtins
Fix missing jump target labels when compiler reorders cold/warm blocks.
..
.. date: 2023-09-20-23-04-15
.. gh-issue: 109627
.. nonce: xxe7De
.. section: Core and Builtins
Fix bug where the compiler does not assign a new jump target label to a
duplicated small exit block.
..
.. date: 2023-09-28-18-08-02
.. gh-issue: 110045
.. nonce: 0YIGKv
.. section: Library
Update the :mod:`symtable` module to support the new scopes introduced by
:pep:`695`.
..
.. date: 2023-09-10-02-39-06
.. gh-issue: 109209
.. nonce: 0LBewo
.. section: Documentation
The minimum Sphinx version required for the documentation is now 4.2.
..
.. date: 2023-09-28-17-09-23
.. gh-issue: 109991
.. nonce: CIMftz
.. section: Windows
Update Windows build to use OpenSSL 3.0.11.
..
.. date: 2023-09-27-22-35-22
.. gh-issue: 109991
.. nonce: -xJzaF
.. section: macOS
Update macOS installer to use OpenSSL 3.0.11.
..
.. date: 2023-09-27-23-31-54
.. gh-issue: 109991
.. nonce: sUUYY8
.. section: Tools/Demos
Update GitHub CI workflows to use OpenSSL 3.0.11 and multissltests to use
1.1.1w, 3.0.11, and 3.1.3.

View file

@ -1,2 +0,0 @@
Fix bug where the compiler does not assign a new jump target label to a
duplicated small exit block.

View file

@ -1 +0,0 @@
Fix missing jump target labels when compiler reorders cold/warm blocks.

View file

@ -1,2 +0,0 @@
Fix bug where compiler does not adjust labels when removing an empty basic
block which is a jump target.

View file

@ -1 +0,0 @@
The minimum Sphinx version required for the documentation is now 4.2.

View file

@ -1,2 +0,0 @@
Update the :mod:`symtable` module to support the new scopes introduced by
:pep:`695`.

View file

@ -1,2 +0,0 @@
Update GitHub CI workflows to use OpenSSL 3.0.11 and multissltests to use
1.1.1w, 3.0.11, and 3.1.3.

View file

@ -1 +0,0 @@
Update Windows build to use OpenSSL 3.0.11.

View file

@ -1 +0,0 @@
Update macOS installer to use OpenSSL 3.0.11.

View file

@ -1,5 +1,5 @@
This is Python version 3.12.0 release candidate 3
=================================================
This is Python version 3.12.0
=============================
.. image:: https://github.com/python/cpython/workflows/Tests/badge.svg
:alt: CPython build status on GitHub Actions