Skip to content

Commit

Permalink
Python 3.12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Yhg1s committed Oct 2, 2023
1 parent f4f919e commit 0fb18b0
Show file tree
Hide file tree
Showing 12 changed files with 134 additions and 72 deletions.
6 changes: 3 additions & 3 deletions Include/patchlevel.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
110 changes: 55 additions & 55 deletions Lib/pydoc_data/topics.py
Original file line number Diff line number Diff line change
@@ -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'
Expand Down Expand Up @@ -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'
Expand Down
74 changes: 74 additions & 0 deletions Misc/NEWS.d/3.12.0.rst
Original file line number Diff line number Diff line change
@@ -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.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 0fb18b0

Please sign in to comment.