mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
Python 3.12.6
This commit is contained in:
parent
7e51091481
commit
a4a2d2b0d8
37 changed files with 367 additions and 95 deletions
|
@ -18,12 +18,12 @@
|
||||||
/*--start constants--*/
|
/*--start constants--*/
|
||||||
#define PY_MAJOR_VERSION 3
|
#define PY_MAJOR_VERSION 3
|
||||||
#define PY_MINOR_VERSION 12
|
#define PY_MINOR_VERSION 12
|
||||||
#define PY_MICRO_VERSION 5
|
#define PY_MICRO_VERSION 6
|
||||||
#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_FINAL
|
#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_FINAL
|
||||||
#define PY_RELEASE_SERIAL 0
|
#define PY_RELEASE_SERIAL 0
|
||||||
|
|
||||||
/* Version as a string */
|
/* Version as a string */
|
||||||
#define PY_VERSION "3.12.5+"
|
#define PY_VERSION "3.12.6"
|
||||||
/*--end constants--*/
|
/*--end constants--*/
|
||||||
|
|
||||||
/* Version as a single 4-byte hex number, e.g. 0x010502B2 == 1.5.2b2.
|
/* Version as a single 4-byte hex number, e.g. 0x010502B2 == 1.5.2b2.
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# Autogenerated by Sphinx on Tue Aug 6 21:02:50 2024
|
# Autogenerated by Sphinx on Fri Sep 6 21:00:45 2024
|
||||||
# as part of the release process.
|
# as part of the release process.
|
||||||
topics = {'assert': 'The "assert" statement\n'
|
topics = {'assert': 'The "assert" statement\n'
|
||||||
'**********************\n'
|
'**********************\n'
|
||||||
|
@ -3101,7 +3101,7 @@ topics = {'assert': 'The "assert" statement\n'
|
||||||
' | "None"\n'
|
' | "None"\n'
|
||||||
' | "True"\n'
|
' | "True"\n'
|
||||||
' | "False"\n'
|
' | "False"\n'
|
||||||
' | signed_number: NUMBER | "-" NUMBER\n'
|
' signed_number ::= ["-"] NUMBER\n'
|
||||||
'\n'
|
'\n'
|
||||||
'The rule "strings" and the token "NUMBER" are defined in the '
|
'The rule "strings" and the token "NUMBER" are defined in the '
|
||||||
'standard\n'
|
'standard\n'
|
||||||
|
@ -8991,16 +8991,22 @@ topics = {'assert': 'The "assert" statement\n'
|
||||||
'types, operations that compute new values may actually return a\n'
|
'types, operations that compute new values may actually return a\n'
|
||||||
'reference to any existing object with the same type and value, '
|
'reference to any existing object with the same type and value, '
|
||||||
'while\n'
|
'while\n'
|
||||||
'for mutable objects this is not allowed. E.g., after "a = 1; b = '
|
'for mutable objects this is not allowed. For example, after "a = '
|
||||||
'1",\n'
|
'1; b\n'
|
||||||
'"a" and "b" may or may not refer to the same object with the '
|
'= 1", *a* and *b* may or may not refer to the same object with '
|
||||||
'value\n'
|
'the\n'
|
||||||
'one, depending on the implementation, but after "c = []; d = []", '
|
'value one, depending on the implementation. This is because "int" '
|
||||||
'"c"\n'
|
'is\n'
|
||||||
'and "d" are guaranteed to refer to two different, unique, newly\n'
|
'an immutable type, so the reference to "1" can be reused. This\n'
|
||||||
'created empty lists. (Note that "c = d = []" assigns the same '
|
'behaviour depends on the implementation used, so should not be '
|
||||||
'object\n'
|
'relied\n'
|
||||||
'to both "c" and "d".)\n',
|
'upon, but is something to be aware of when making use of object\n'
|
||||||
|
'identity tests. However, after "c = []; d = []", *c* and *d* are\n'
|
||||||
|
'guaranteed to refer to two different, unique, newly created '
|
||||||
|
'empty\n'
|
||||||
|
'lists. (Note that "e = f = []" assigns the *same* object to both '
|
||||||
|
'*e*\n'
|
||||||
|
'and *f*.)\n',
|
||||||
'operator-summary': 'Operator precedence\n'
|
'operator-summary': 'Operator precedence\n'
|
||||||
'*******************\n'
|
'*******************\n'
|
||||||
'\n'
|
'\n'
|
||||||
|
@ -13075,15 +13081,13 @@ topics = {'assert': 'The "assert" statement\n'
|
||||||
'greater must be expressed with escapes.\n'
|
'greater must be expressed with escapes.\n'
|
||||||
'\n'
|
'\n'
|
||||||
'Both string and bytes literals may optionally be prefixed with a\n'
|
'Both string and bytes literals may optionally be prefixed with a\n'
|
||||||
'letter "\'r\'" or "\'R\'"; such strings are called *raw strings* '
|
'letter "\'r\'" or "\'R\'"; such constructs are called *raw '
|
||||||
'and treat\n'
|
'string\n'
|
||||||
'backslashes as literal characters. As a result, in string '
|
'literals* and *raw bytes literals* respectively and treat '
|
||||||
'literals,\n'
|
'backslashes\n'
|
||||||
'"\'\\U\'" and "\'\\u\'" escapes in raw strings are not treated '
|
'as literal characters. As a result, in raw string literals, '
|
||||||
'specially.\n'
|
'"\'\\U\'"\n'
|
||||||
'Given that Python 2.x’s raw unicode literals behave differently '
|
'and "\'\\u\'" escapes are not treated specially.\n'
|
||||||
'than\n'
|
|
||||||
'Python 3.x’s the "\'ur\'" syntax is not supported.\n'
|
|
||||||
'\n'
|
'\n'
|
||||||
'Added in version 3.3: The "\'rb\'" prefix of raw bytes literals '
|
'Added in version 3.3: The "\'rb\'" prefix of raw bytes literals '
|
||||||
'has been\n'
|
'has been\n'
|
||||||
|
@ -13977,8 +13981,7 @@ topics = {'assert': 'The "assert" statement\n'
|
||||||
'however removing a key and re-inserting it will add it to the end\n'
|
'however removing a key and re-inserting it will add it to the end\n'
|
||||||
'instead of keeping its old place.\n'
|
'instead of keeping its old place.\n'
|
||||||
'\n'
|
'\n'
|
||||||
'Dictionaries are mutable; they can be created by the "{...}" '
|
'Dictionaries are mutable; they can be created by the "{}" notation\n'
|
||||||
'notation\n'
|
|
||||||
'(see section Dictionary displays).\n'
|
'(see section Dictionary displays).\n'
|
||||||
'\n'
|
'\n'
|
||||||
'The extension modules "dbm.ndbm" and "dbm.gnu" provide additional\n'
|
'The extension modules "dbm.ndbm" and "dbm.gnu" provide additional\n'
|
||||||
|
@ -15963,8 +15966,8 @@ topics = {'assert': 'The "assert" statement\n'
|
||||||
'| | also removes it from '
|
'| | also removes it from '
|
||||||
'*s* | |\n'
|
'*s* | |\n'
|
||||||
'+--------------------------------+----------------------------------+-----------------------+\n'
|
'+--------------------------------+----------------------------------+-----------------------+\n'
|
||||||
'| "s.remove(x)" | remove the first item from '
|
'| "s.remove(x)" | removes the first item from '
|
||||||
'*s* | (3) |\n'
|
'*s* | (3) |\n'
|
||||||
'| | where "s[i]" is equal to '
|
'| | where "s[i]" is equal to '
|
||||||
'*x* | |\n'
|
'*x* | |\n'
|
||||||
'+--------------------------------+----------------------------------+-----------------------+\n'
|
'+--------------------------------+----------------------------------+-----------------------+\n'
|
||||||
|
@ -16428,8 +16431,8 @@ topics = {'assert': 'The "assert" statement\n'
|
||||||
'| | also removes it from '
|
'| | also removes it from '
|
||||||
'*s* | |\n'
|
'*s* | |\n'
|
||||||
'+--------------------------------+----------------------------------+-----------------------+\n'
|
'+--------------------------------+----------------------------------+-----------------------+\n'
|
||||||
'| "s.remove(x)" | remove the first item '
|
'| "s.remove(x)" | removes the first '
|
||||||
'from *s* | (3) |\n'
|
'item from *s* | (3) |\n'
|
||||||
'| | where "s[i]" is equal '
|
'| | where "s[i]" is equal '
|
||||||
'to *x* | |\n'
|
'to *x* | |\n'
|
||||||
'+--------------------------------+----------------------------------+-----------------------+\n'
|
'+--------------------------------+----------------------------------+-----------------------+\n'
|
||||||
|
|
334
Misc/NEWS.d/3.12.6.rst
Normal file
334
Misc/NEWS.d/3.12.6.rst
Normal file
|
@ -0,0 +1,334 @@
|
||||||
|
.. date: 2024-09-04-11-55-29
|
||||||
|
.. gh-issue: 123418
|
||||||
|
.. nonce: 8P4bmN
|
||||||
|
.. release date: 2024-09-06
|
||||||
|
.. section: macOS
|
||||||
|
|
||||||
|
Updated macOS installer build to use OpenSSL 3.0.15.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. date: 2024-09-04-09-59-18
|
||||||
|
.. gh-issue: 123418
|
||||||
|
.. nonce: QaMC12
|
||||||
|
.. section: Windows
|
||||||
|
|
||||||
|
Updated Windows build to use OpenSSL 3.0.15.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. date: 2024-07-19-21-50-54
|
||||||
|
.. gh-issue: 100256
|
||||||
|
.. nonce: GDrKba
|
||||||
|
.. section: Windows
|
||||||
|
|
||||||
|
:mod:`mimetypes` no longer fails when it encounters an inaccessible registry
|
||||||
|
key.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. date: 2022-04-20-18-32-30
|
||||||
|
.. gh-issue: 79846
|
||||||
|
.. nonce: Vggv3f
|
||||||
|
.. section: Windows
|
||||||
|
|
||||||
|
Makes :code:`ssl.create_default_context()` ignore invalid certificates in
|
||||||
|
the Windows certificate store
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. date: 2024-09-04-10-07-51
|
||||||
|
.. gh-issue: 123418
|
||||||
|
.. nonce: 1eIFZb
|
||||||
|
.. section: Tools/Demos
|
||||||
|
|
||||||
|
Update GitHub CI workflows to use OpenSSL 3.0.15 and multissltests to use
|
||||||
|
3.0.15, 3.1.7, and 3.2.3.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. date: 2024-05-04-22-56-41
|
||||||
|
.. gh-issue: 101525
|
||||||
|
.. nonce: LHK166
|
||||||
|
.. section: Tests
|
||||||
|
|
||||||
|
Skip ``test_gdb`` if the binary is relocated by BOLT. Patch by Donghee Na.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. date: 2024-09-04-12-41-35
|
||||||
|
.. gh-issue: 123678
|
||||||
|
.. nonce: N41y9n
|
||||||
|
.. section: Security
|
||||||
|
|
||||||
|
Upgrade libexpat to 2.6.3
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. date: 2024-07-02-13-39-20
|
||||||
|
.. gh-issue: 121285
|
||||||
|
.. nonce: hrl-yI
|
||||||
|
.. section: Security
|
||||||
|
|
||||||
|
Remove backtracking from tarfile header parsing for ``hdrcharset``, PAX, and
|
||||||
|
GNU sparse headers.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. date: 2024-08-26-13-45-20
|
||||||
|
.. gh-issue: 123270
|
||||||
|
.. nonce: gXHvNJ
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Applied a more surgical fix for malformed payloads in :class:`zipfile.Path`
|
||||||
|
causing infinite loops (gh-122905) without breaking contents using
|
||||||
|
legitimate characters.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. date: 2024-08-22-09-37-48
|
||||||
|
.. gh-issue: 123213
|
||||||
|
.. nonce: owmXnP
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
:meth:`xml.etree.ElementTree.Element.extend` and
|
||||||
|
:class:`~xml.etree.ElementTree.Element` assignment no longer hide the
|
||||||
|
internal exception if an erronous generator is passed. Patch by Bar Harel.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. date: 2024-08-20-18-02-27
|
||||||
|
.. gh-issue: 85110
|
||||||
|
.. nonce: 8_iDQy
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Preserve relative path in URL without netloc in
|
||||||
|
:func:`urllib.parse.urlunsplit` and :func:`urllib.parse.urlunparse`.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. date: 2024-08-16-19-13-21
|
||||||
|
.. gh-issue: 123067
|
||||||
|
.. nonce: Nx9O4R
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix quadratic complexity in parsing ``"``-quoted cookie values with
|
||||||
|
backslashes by :mod:`http.cookies`.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. date: 2024-08-11-14-23-07
|
||||||
|
.. gh-issue: 122903
|
||||||
|
.. nonce: xktZta
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
``zipfile.Path.glob`` now correctly matches directories instead of silently
|
||||||
|
omitting them.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. date: 2024-08-11-14-08-04
|
||||||
|
.. gh-issue: 122905
|
||||||
|
.. nonce: 7tDsxA
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
:class:`zipfile.Path` objects now sanitize names from the zipfile.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. date: 2024-08-08-15-05-58
|
||||||
|
.. gh-issue: 122695
|
||||||
|
.. nonce: f7pwBv
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fixed double-free when using :func:`gc.get_referents` with a freed
|
||||||
|
:class:`asyncio.Future` iterator.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. date: 2024-08-07-17-41-16
|
||||||
|
.. gh-issue: 116263
|
||||||
|
.. nonce: EcXir0
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
:class:`logging.handlers.RotatingFileHandler` no longer rolls over empty log
|
||||||
|
files.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. date: 2024-08-04-14-07-18
|
||||||
|
.. gh-issue: 118814
|
||||||
|
.. nonce: uiyks1
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix the :class:`typing.TypeVar` constructor when name is passed by keyword.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. date: 2024-07-31-20-43-21
|
||||||
|
.. gh-issue: 122478
|
||||||
|
.. nonce: sCU2Le
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Remove internal frames from tracebacks shown in
|
||||||
|
:class:`code.InteractiveInterpreter` with non-default
|
||||||
|
:func:`sys.excepthook`. Save correct tracebacks in
|
||||||
|
:attr:`sys.last_traceback` and update ``__traceback__`` attribute of
|
||||||
|
:attr:`sys.last_value` and :attr:`sys.last_exc`.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. date: 2024-07-22-08-14-04
|
||||||
|
.. gh-issue: 113785
|
||||||
|
.. nonce: 6B_KNB
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
:mod:`csv` now correctly parses numeric fields (when used with
|
||||||
|
:const:`csv.QUOTE_NONNUMERIC`) which start with an escape character.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. date: 2023-12-17-10-22-55
|
||||||
|
.. gh-issue: 112182
|
||||||
|
.. nonce: jLWGlr
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
:meth:`!asyncio.futures.Future.set_exception` now transforms
|
||||||
|
:exc:`StopIteration` into :exc:`RuntimeError` instead of hanging or other
|
||||||
|
misbehavior. Patch contributed by Jamie Phan.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. date: 2023-12-12-15-19-58
|
||||||
|
.. gh-issue: 108172
|
||||||
|
.. nonce: KyDPuG
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
``webbrowser`` honors OS preferred browser on Linux when its desktop entry
|
||||||
|
name contains the text of a known browser name.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. date: 2023-10-20-15-28-08
|
||||||
|
.. gh-issue: 102988
|
||||||
|
.. nonce: dStNO7
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
:func:`email.utils.getaddresses` and :func:`email.utils.parseaddr` now
|
||||||
|
return ``('', '')`` 2-tuples in more situations where invalid email
|
||||||
|
addresses are encountered instead of potentially inaccurate values. Add
|
||||||
|
optional *strict* parameter to these two functions: use ``strict=False`` to
|
||||||
|
get the old behavior, accept malformed inputs. ``getattr(email.utils,
|
||||||
|
'supports_strict_parsing', False)`` can be use to check if the *strict*
|
||||||
|
paramater is available. Patch by Thomas Dwyer and Victor Stinner to improve
|
||||||
|
the CVE-2023-27043 fix.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. date: 2023-08-04-18-43-21
|
||||||
|
.. gh-issue: 99437
|
||||||
|
.. nonce: Et8hu8
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
:func:`runpy.run_path` now decodes path-like objects, making sure __file__
|
||||||
|
and sys.argv[0] of the module being run are always strings.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. date: 2024-06-16-21-42-45
|
||||||
|
.. gh-issue: 120083
|
||||||
|
.. nonce: nczuyv
|
||||||
|
.. section: IDLE
|
||||||
|
|
||||||
|
Add explicit black IDLE Hovertip foreground color needed for recent macOS.
|
||||||
|
Fixes Sonoma showing unreadable white on pale yellow. Patch by John
|
||||||
|
Riggles.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. date: 2024-08-26-00-58-26
|
||||||
|
.. gh-issue: 123321
|
||||||
|
.. nonce: ApxcnE
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Prevent Parser/myreadline race condition from segfaulting on multi-threaded
|
||||||
|
use. Patch by Bar Harel and Amit Wienner.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. date: 2024-08-25-10-54-22
|
||||||
|
.. gh-issue: 122982
|
||||||
|
.. nonce: KLD91q
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Extend the deprecation period for bool inversion (``~``) by two years.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. date: 2024-08-23-13-08-27
|
||||||
|
.. gh-issue: 123229
|
||||||
|
.. nonce: aHm-dw
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Fix valgrind warning by initializing the f-string buffers to 0 in the
|
||||||
|
tokenizer. Patch by Pablo Galindo
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. date: 2024-08-20-12-29-52
|
||||||
|
.. gh-issue: 123142
|
||||||
|
.. nonce: 3PXiNb
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Fix too-wide source location in exception tracebacks coming from broken
|
||||||
|
iterables in comprehensions.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. date: 2024-08-20-11-09-16
|
||||||
|
.. gh-issue: 123048
|
||||||
|
.. nonce: 2TISpv
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Fix a bug where pattern matching code could emit a :opcode:`JUMP_FORWARD`
|
||||||
|
with no source location.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. date: 2024-08-17-17-26-25
|
||||||
|
.. gh-issue: 123083
|
||||||
|
.. nonce: 9xWLJ-
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Fix a potential use-after-free in ``STORE_ATTR_WITH_HINT``.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. date: 2024-08-01-19-13-58
|
||||||
|
.. gh-issue: 122527
|
||||||
|
.. nonce: eztso6
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Fix a crash that occurred when a ``PyStructSequence`` was deallocated after
|
||||||
|
its type's dictionary was cleared by the GC. The type's
|
||||||
|
:c:member:`~PyTypeObject.tp_basicsize` now accounts for non-sequence fields
|
||||||
|
that aren't included in the :c:macro:`Py_SIZE` of the sequence.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. date: 2024-06-05-18-29-18
|
||||||
|
.. gh-issue: 93691
|
||||||
|
.. nonce: 6OautB
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Fix source locations of instructions generated for with statements.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. date: 2024-08-24-19-09-31
|
||||||
|
.. gh-issue: 123297
|
||||||
|
.. nonce: fdtXoe
|
||||||
|
.. section: Build
|
||||||
|
|
||||||
|
Propagate the value of ``LDFLAGS`` to ``LDCXXSHARED`` in :mod:`sysconfig`.
|
||||||
|
Patch by Pablo Galindo
|
|
@ -1,2 +0,0 @@
|
||||||
Propagate the value of ``LDFLAGS`` to ``LDCXXSHARED`` in :mod:`sysconfig`.
|
|
||||||
Patch by Pablo Galindo
|
|
|
@ -1 +0,0 @@
|
||||||
Fix source locations of instructions generated for with statements.
|
|
|
@ -1,2 +0,0 @@
|
||||||
Fix a bug where pattern matching code could emit a :opcode:`JUMP_FORWARD`
|
|
||||||
with no source location.
|
|
|
@ -1,2 +0,0 @@
|
||||||
Fix too-wide source location in exception tracebacks coming from broken
|
|
||||||
iterables in comprehensions.
|
|
|
@ -1,2 +0,0 @@
|
||||||
Fix valgrind warning by initializing the f-string buffers to 0 in the
|
|
||||||
tokenizer. Patch by Pablo Galindo
|
|
|
@ -1 +0,0 @@
|
||||||
Extend the deprecation period for bool inversion (``~``) by two years.
|
|
|
@ -1,2 +0,0 @@
|
||||||
Prevent Parser/myreadline race condition from segfaulting on multi-threaded
|
|
||||||
use. Patch by Bar Harel and Amit Wienner.
|
|
|
@ -1,4 +0,0 @@
|
||||||
Fix a crash that occurred when a ``PyStructSequence`` was deallocated after
|
|
||||||
its type's dictionary was cleared by the GC. The type's
|
|
||||||
:c:member:`~PyTypeObject.tp_basicsize` now accounts for non-sequence fields
|
|
||||||
that aren't included in the :c:macro:`Py_SIZE` of the sequence.
|
|
|
@ -1 +0,0 @@
|
||||||
Fix a potential use-after-free in ``STORE_ATTR_WITH_HINT``.
|
|
|
@ -1 +0,0 @@
|
||||||
Add explicit black IDLE Hovertip foreground color needed for recent macOS. Fixes Sonoma showing unreadable white on pale yellow. Patch by John Riggles.
|
|
|
@ -1,2 +0,0 @@
|
||||||
:func:`runpy.run_path` now decodes path-like objects, making sure __file__
|
|
||||||
and sys.argv[0] of the module being run are always strings.
|
|
|
@ -1,8 +0,0 @@
|
||||||
:func:`email.utils.getaddresses` and :func:`email.utils.parseaddr` now
|
|
||||||
return ``('', '')`` 2-tuples in more situations where invalid email
|
|
||||||
addresses are encountered instead of potentially inaccurate values. Add
|
|
||||||
optional *strict* parameter to these two functions: use ``strict=False`` to
|
|
||||||
get the old behavior, accept malformed inputs.
|
|
||||||
``getattr(email.utils, 'supports_strict_parsing', False)`` can be use to check
|
|
||||||
if the *strict* paramater is available. Patch by Thomas Dwyer and Victor
|
|
||||||
Stinner to improve the CVE-2023-27043 fix.
|
|
|
@ -1 +0,0 @@
|
||||||
``webbrowser`` honors OS preferred browser on Linux when its desktop entry name contains the text of a known browser name.
|
|
|
@ -1,3 +0,0 @@
|
||||||
:meth:`!asyncio.futures.Future.set_exception` now transforms :exc:`StopIteration`
|
|
||||||
into :exc:`RuntimeError` instead of hanging or other misbehavior. Patch
|
|
||||||
contributed by Jamie Phan.
|
|
|
@ -1 +0,0 @@
|
||||||
:mod:`csv` now correctly parses numeric fields (when used with :const:`csv.QUOTE_NONNUMERIC`) which start with an escape character.
|
|
|
@ -1,3 +0,0 @@
|
||||||
Remove internal frames from tracebacks shown in
|
|
||||||
:class:`code.InteractiveInterpreter` with non-default :func:`sys.excepthook`.
|
|
||||||
Save correct tracebacks in :attr:`sys.last_traceback` and update ``__traceback__`` attribute of :attr:`sys.last_value` and :attr:`sys.last_exc`.
|
|
|
@ -1 +0,0 @@
|
||||||
Fix the :class:`typing.TypeVar` constructor when name is passed by keyword.
|
|
|
@ -1,2 +0,0 @@
|
||||||
:class:`logging.handlers.RotatingFileHandler` no longer rolls over empty log
|
|
||||||
files.
|
|
|
@ -1,2 +0,0 @@
|
||||||
Fixed double-free when using :func:`gc.get_referents` with a freed
|
|
||||||
:class:`asyncio.Future` iterator.
|
|
|
@ -1 +0,0 @@
|
||||||
:class:`zipfile.Path` objects now sanitize names from the zipfile.
|
|
|
@ -1,2 +0,0 @@
|
||||||
``zipfile.Path.glob`` now correctly matches directories instead of
|
|
||||||
silently omitting them.
|
|
|
@ -1 +0,0 @@
|
||||||
Fix quadratic complexity in parsing ``"``-quoted cookie values with backslashes by :mod:`http.cookies`.
|
|
|
@ -1,2 +0,0 @@
|
||||||
Preserve relative path in URL without netloc in
|
|
||||||
:func:`urllib.parse.urlunsplit` and :func:`urllib.parse.urlunparse`.
|
|
|
@ -1,3 +0,0 @@
|
||||||
:meth:`xml.etree.ElementTree.Element.extend` and
|
|
||||||
:class:`~xml.etree.ElementTree.Element` assignment no longer hide the internal
|
|
||||||
exception if an erronous generator is passed. Patch by Bar Harel.
|
|
|
@ -1,3 +0,0 @@
|
||||||
Applied a more surgical fix for malformed payloads in :class:`zipfile.Path`
|
|
||||||
causing infinite loops (gh-122905) without breaking contents using
|
|
||||||
legitimate characters.
|
|
|
@ -1,2 +0,0 @@
|
||||||
Remove backtracking from tarfile header parsing for ``hdrcharset``, PAX, and
|
|
||||||
GNU sparse headers.
|
|
|
@ -1 +0,0 @@
|
||||||
Upgrade libexpat to 2.6.3
|
|
|
@ -1,2 +0,0 @@
|
||||||
Skip ``test_gdb`` if the binary is relocated by BOLT.
|
|
||||||
Patch by Donghee Na.
|
|
|
@ -1,2 +0,0 @@
|
||||||
Update GitHub CI workflows to use OpenSSL 3.0.15 and multissltests to use
|
|
||||||
3.0.15, 3.1.7, and 3.2.3.
|
|
|
@ -1,2 +0,0 @@
|
||||||
Makes :code:`ssl.create_default_context()` ignore invalid certificates in
|
|
||||||
the Windows certificate store
|
|
|
@ -1 +0,0 @@
|
||||||
:mod:`mimetypes` no longer fails when it encounters an inaccessible registry key.
|
|
|
@ -1 +0,0 @@
|
||||||
Updated Windows build to use OpenSSL 3.0.15.
|
|
|
@ -1 +0,0 @@
|
||||||
Updated macOS installer build to use OpenSSL 3.0.15.
|
|
|
@ -1,4 +1,4 @@
|
||||||
This is Python version 3.12.5
|
This is Python version 3.12.6
|
||||||
=============================
|
=============================
|
||||||
|
|
||||||
.. image:: https://github.com/python/cpython/workflows/Tests/badge.svg
|
.. image:: https://github.com/python/cpython/workflows/Tests/badge.svg
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue