mirror of
https://github.com/python/cpython.git
synced 2025-10-09 16:34:44 +00:00
Python 3.13.0a4
This commit is contained in:
parent
b0e5c35ded
commit
9d34f60783
141 changed files with 1471 additions and 349 deletions
|
@ -20,10 +20,10 @@
|
||||||
#define PY_MINOR_VERSION 13
|
#define PY_MINOR_VERSION 13
|
||||||
#define PY_MICRO_VERSION 0
|
#define PY_MICRO_VERSION 0
|
||||||
#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_ALPHA
|
#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_ALPHA
|
||||||
#define PY_RELEASE_SERIAL 3
|
#define PY_RELEASE_SERIAL 4
|
||||||
|
|
||||||
/* Version as a string */
|
/* Version as a string */
|
||||||
#define PY_VERSION "3.13.0a3+"
|
#define PY_VERSION "3.13.0a4"
|
||||||
/*--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 Wed Jan 17 13:09:41 2024
|
# Autogenerated by Sphinx on Thu Feb 15 14:30:52 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'
|
||||||
|
@ -722,9 +722,9 @@ topics = {'assert': 'The "assert" statement\n'
|
||||||
'\n'
|
'\n'
|
||||||
'object.__dir__(self)\n'
|
'object.__dir__(self)\n'
|
||||||
'\n'
|
'\n'
|
||||||
' Called when "dir()" is called on the object. A '
|
' Called when "dir()" is called on the object. An '
|
||||||
'sequence must be\n'
|
'iterable must be\n'
|
||||||
' returned. "dir()" converts the returned sequence to a '
|
' returned. "dir()" converts the returned iterable to a '
|
||||||
'list and\n'
|
'list and\n'
|
||||||
' sorts it.\n'
|
' sorts it.\n'
|
||||||
'\n'
|
'\n'
|
||||||
|
@ -751,8 +751,8 @@ topics = {'assert': 'The "assert" statement\n'
|
||||||
'returned.\n'
|
'returned.\n'
|
||||||
'\n'
|
'\n'
|
||||||
'The "__dir__" function should accept no arguments, and '
|
'The "__dir__" function should accept no arguments, and '
|
||||||
'return a\n'
|
'return an\n'
|
||||||
'sequence of strings that represents the names accessible '
|
'iterable of strings that represents the names accessible '
|
||||||
'on module. If\n'
|
'on module. If\n'
|
||||||
'present, this function overrides the standard "dir()" '
|
'present, this function overrides the standard "dir()" '
|
||||||
'search on a\n'
|
'search on a\n'
|
||||||
|
@ -4921,7 +4921,7 @@ topics = {'assert': 'The "assert" statement\n'
|
||||||
'and continue running without the debugger using the "continue"\n'
|
'and continue running without the debugger using the "continue"\n'
|
||||||
'command.\n'
|
'command.\n'
|
||||||
'\n'
|
'\n'
|
||||||
'New in version 3.7: The built-in "breakpoint()", when called '
|
'Changed in version 3.7: The built-in "breakpoint()", when called '
|
||||||
'with\n'
|
'with\n'
|
||||||
'defaults, can be used instead of "import pdb; pdb.set_trace()".\n'
|
'defaults, can be used instead of "import pdb; pdb.set_trace()".\n'
|
||||||
'\n'
|
'\n'
|
||||||
|
@ -4965,11 +4965,11 @@ topics = {'assert': 'The "assert" statement\n'
|
||||||
'the\n'
|
'the\n'
|
||||||
'debugger upon program’s exit.\n'
|
'debugger upon program’s exit.\n'
|
||||||
'\n'
|
'\n'
|
||||||
'New in version 3.2: "-c" option is introduced to execute '
|
'Changed in version 3.2: Added the "-c" option to execute '
|
||||||
'commands as\n'
|
'commands as\n'
|
||||||
'if given in a ".pdbrc" file, see Debugger Commands.\n'
|
'if given in a ".pdbrc" file; see Debugger Commands.\n'
|
||||||
'\n'
|
'\n'
|
||||||
'New in version 3.7: "-m" option is introduced to execute '
|
'Changed in version 3.7: Added the "-m" option to execute '
|
||||||
'modules\n'
|
'modules\n'
|
||||||
'similar to the way "python -m" does. As with a script, the '
|
'similar to the way "python -m" does. As with a script, the '
|
||||||
'debugger\n'
|
'debugger\n'
|
||||||
|
@ -5115,11 +5115,11 @@ topics = {'assert': 'The "assert" statement\n'
|
||||||
'\n'
|
'\n'
|
||||||
' Raises an auditing event "pdb.Pdb" with no arguments.\n'
|
' Raises an auditing event "pdb.Pdb" with no arguments.\n'
|
||||||
'\n'
|
'\n'
|
||||||
' New in version 3.1: The *skip* argument.\n'
|
' Changed in version 3.1: Added the *skip* parameter.\n'
|
||||||
'\n'
|
'\n'
|
||||||
' New in version 3.2: The *nosigint* argument. Previously, a '
|
' Changed in version 3.2: Added the *nosigint* parameter. '
|
||||||
'SIGINT\n'
|
'Previously,\n'
|
||||||
' handler was never set by Pdb.\n'
|
' a SIGINT handler was never set by Pdb.\n'
|
||||||
'\n'
|
'\n'
|
||||||
' Changed in version 3.6: The *readrc* argument.\n'
|
' Changed in version 3.6: The *readrc* argument.\n'
|
||||||
'\n'
|
'\n'
|
||||||
|
@ -5466,7 +5466,7 @@ topics = {'assert': 'The "assert" statement\n'
|
||||||
'differs\n'
|
'differs\n'
|
||||||
' from the current line.\n'
|
' from the current line.\n'
|
||||||
'\n'
|
'\n'
|
||||||
' New in version 3.2: The ">>" marker.\n'
|
' Changed in version 3.2: Added the ">>" marker.\n'
|
||||||
'\n'
|
'\n'
|
||||||
'll | longlist\n'
|
'll | longlist\n'
|
||||||
'\n'
|
'\n'
|
||||||
|
@ -5599,9 +5599,9 @@ topics = {'assert': 'The "assert" statement\n'
|
||||||
'\n'
|
'\n'
|
||||||
' New in version 3.2.\n'
|
' New in version 3.2.\n'
|
||||||
'\n'
|
'\n'
|
||||||
' New in version 3.13: "exit()" and "quit()" can be used to '
|
' Changed in version 3.13: "exit()" and "quit()" can be used to '
|
||||||
'exit\n'
|
'exit\n'
|
||||||
' "interact" command.\n'
|
' the "interact" command.\n'
|
||||||
'\n'
|
'\n'
|
||||||
' Changed in version 3.13: "interact" directs its output to '
|
' Changed in version 3.13: "interact" directs its output to '
|
||||||
'the\n'
|
'the\n'
|
||||||
|
@ -6470,15 +6470,15 @@ topics = {'assert': 'The "assert" statement\n'
|
||||||
'originally\n'
|
'originally\n'
|
||||||
'proposed by **PEP 448**.\n'
|
'proposed by **PEP 448**.\n'
|
||||||
'\n'
|
'\n'
|
||||||
'The trailing comma is required only to create a single tuple '
|
'A trailing comma is required only to create a one-item tuple, '
|
||||||
'(a.k.a. a\n'
|
'such as\n'
|
||||||
'*singleton*); it is optional in all other cases. A single '
|
'"1,"; it is optional in all other cases. A single expression '
|
||||||
'expression\n'
|
'without a\n'
|
||||||
'without a trailing comma doesn’t create a tuple, but rather '
|
'trailing comma doesn’t create a tuple, but rather yields the '
|
||||||
'yields the\n'
|
'value of\n'
|
||||||
'value of that expression. (To create an empty tuple, use an '
|
'that expression. (To create an empty tuple, use an empty pair '
|
||||||
'empty pair\n'
|
'of\n'
|
||||||
'of parentheses: "()".)\n',
|
'parentheses: "()".)\n',
|
||||||
'floating': 'Floating point literals\n'
|
'floating': 'Floating point literals\n'
|
||||||
'***********************\n'
|
'***********************\n'
|
||||||
'\n'
|
'\n'
|
||||||
|
@ -10384,9 +10384,9 @@ topics = {'assert': 'The "assert" statement\n'
|
||||||
'\n'
|
'\n'
|
||||||
'object.__dir__(self)\n'
|
'object.__dir__(self)\n'
|
||||||
'\n'
|
'\n'
|
||||||
' Called when "dir()" is called on the object. A sequence '
|
' Called when "dir()" is called on the object. An iterable '
|
||||||
'must be\n'
|
'must be\n'
|
||||||
' returned. "dir()" converts the returned sequence to a '
|
' returned. "dir()" converts the returned iterable to a '
|
||||||
'list and\n'
|
'list and\n'
|
||||||
' sorts it.\n'
|
' sorts it.\n'
|
||||||
'\n'
|
'\n'
|
||||||
|
@ -10413,8 +10413,8 @@ topics = {'assert': 'The "assert" statement\n'
|
||||||
'returned.\n'
|
'returned.\n'
|
||||||
'\n'
|
'\n'
|
||||||
'The "__dir__" function should accept no arguments, and '
|
'The "__dir__" function should accept no arguments, and '
|
||||||
'return a\n'
|
'return an\n'
|
||||||
'sequence of strings that represents the names accessible on '
|
'iterable of strings that represents the names accessible on '
|
||||||
'module. If\n'
|
'module. If\n'
|
||||||
'present, this function overrides the standard "dir()" search '
|
'present, this function overrides the standard "dir()" search '
|
||||||
'on a\n'
|
'on a\n'
|
||||||
|
@ -14543,7 +14543,9 @@ topics = {'assert': 'The "assert" statement\n'
|
||||||
'name |\n'
|
'name |\n'
|
||||||
'+----------------------------------------------------+----------------------------------------------------+\n'
|
'+----------------------------------------------------+----------------------------------------------------+\n'
|
||||||
'| codeobject.co_qualname | The fully '
|
'| codeobject.co_qualname | The fully '
|
||||||
'qualified function name |\n'
|
'qualified function name New in version |\n'
|
||||||
|
'| | '
|
||||||
|
'3.11. |\n'
|
||||||
'+----------------------------------------------------+----------------------------------------------------+\n'
|
'+----------------------------------------------------+----------------------------------------------------+\n'
|
||||||
'| codeobject.co_argcount | The total '
|
'| codeobject.co_argcount | The total '
|
||||||
'number of positional *parameters* |\n'
|
'number of positional *parameters* |\n'
|
||||||
|
@ -15008,8 +15010,8 @@ topics = {'assert': 'The "assert" statement\n'
|
||||||
'around another object that alters the way in which that object is\n'
|
'around another object that alters the way in which that object is\n'
|
||||||
'retrieved from classes and class instances. The behaviour of class\n'
|
'retrieved from classes and class instances. The behaviour of class\n'
|
||||||
'method objects upon such retrieval is described above, under '
|
'method objects upon such retrieval is described above, under '
|
||||||
'“User-\n'
|
'“instance\n'
|
||||||
'defined methods”. Class method objects are created by the built-in\n'
|
'methods”. Class method objects are created by the built-in\n'
|
||||||
'"classmethod()" constructor.\n',
|
'"classmethod()" constructor.\n',
|
||||||
'typesfunctions': 'Functions\n'
|
'typesfunctions': 'Functions\n'
|
||||||
'*********\n'
|
'*********\n'
|
||||||
|
|
1433
Misc/NEWS.d/3.13.0a4.rst
Normal file
1433
Misc/NEWS.d/3.13.0a4.rst
Normal file
File diff suppressed because it is too large
Load diff
|
@ -1 +0,0 @@
|
||||||
Add :c:func:`!getgrent` as a prerequisite for building the :mod:`grp` module.
|
|
|
@ -1,2 +0,0 @@
|
||||||
configure and Makefile were refactored to accomodate framework builds on
|
|
||||||
Apple platforms other than macOS.
|
|
|
@ -1,2 +0,0 @@
|
||||||
Promote WASI to a tier 2 platform and drop Emscripten from tier 3 in
|
|
||||||
configure.ac.
|
|
|
@ -1 +0,0 @@
|
||||||
Avoid vendoring ``vcruntime140_threads.dll`` when building with Visual Studio 2022 version 17.8.
|
|
|
@ -1,5 +0,0 @@
|
||||||
Add :c:func:`PyDict_SetDefaultRef`: insert a key and value into a dictionary
|
|
||||||
if the key is not already present. This is similar to
|
|
||||||
:meth:`dict.setdefault`, but returns an integer value indicating if the key
|
|
||||||
was already present. It is also similar to :c:func:`PyDict_SetDefault`, but
|
|
||||||
returns a strong reference instead of a borrowed reference.
|
|
|
@ -1,9 +0,0 @@
|
||||||
Add PyTime C API:
|
|
||||||
|
|
||||||
* :c:type:`PyTime_t` type.
|
|
||||||
* :c:var:`PyTime_MIN` and :c:var:`PyTime_MAX` constants.
|
|
||||||
* :c:func:`PyTime_AsSecondsDouble`,
|
|
||||||
:c:func:`PyTime_Monotonic`, :c:func:`PyTime_PerfCounter`, and
|
|
||||||
:c:func:`PyTime_Time` functions.
|
|
||||||
|
|
||||||
Patch by Victor Stinner.
|
|
|
@ -1,3 +0,0 @@
|
||||||
Add :c:func:`PyList_GetItemRef`, which is similar to
|
|
||||||
:c:func:`PyList_GetItem` but returns a :term:`strong reference` instead of a
|
|
||||||
:term:`borrowed reference`.
|
|
|
@ -1 +0,0 @@
|
||||||
Add ``PyCFunctionFast`` and ``PyCFunctionFastWithKeywords`` typedefs (identical to the existing ``_PyCFunctionFast`` and ``_PyCFunctionFastWithKeywords`` typedefs, just without a leading ``_`` prefix).
|
|
|
@ -1,3 +0,0 @@
|
||||||
:c:func:`PyObject_GetBuffer` now raises a :exc:`SystemError` if called with
|
|
||||||
:c:macro:`PyBUF_READ` or :c:macro:`PyBUF_WRITE` as flags. These flags should
|
|
||||||
only be used with the ``PyMemoryView_*`` C API.
|
|
|
@ -1,3 +0,0 @@
|
||||||
:c:func:`PyBuffer_FillInfo` now raises a :exc:`SystemError` if called with
|
|
||||||
:c:macro:`PyBUF_READ` or :c:macro:`PyBUF_WRITE` as flags. These flags should
|
|
||||||
only be used with the ``PyMemoryView_*`` C API.
|
|
|
@ -1,2 +0,0 @@
|
||||||
Adds :c:func:`PyLong_AsNativeBytes`, :c:func:`PyLong_FromNativeBytes` and
|
|
||||||
:c:func:`PyLong_FromUnsignedNativeBytes` functions.
|
|
|
@ -1 +0,0 @@
|
||||||
Use native Win32 condition variables.
|
|
|
@ -1 +0,0 @@
|
||||||
Add warning when creating :class:`type` using a namespace dictionary with non-string keys. Patched by Daniel Urban and Furkan Onder.
|
|
|
@ -1,5 +0,0 @@
|
||||||
Make interp->obmalloc a pointer. For interpreters that share state with the
|
|
||||||
main interpreter, this points to the same static memory structure. For
|
|
||||||
interpreters with their own obmalloc state, it is heap allocated. Add
|
|
||||||
free_obmalloc_arenas() which will free the obmalloc arenas and radix tree
|
|
||||||
structures for interpreters with their own obmalloc state.
|
|
|
@ -1,4 +0,0 @@
|
||||||
Add an option (``--enable-experimental-jit`` for ``configure``-based builds
|
|
||||||
or ``--experimental-jit`` for ``PCbuild``-based ones) to build an
|
|
||||||
*experimental* just-in-time compiler, based on `copy-and-patch
|
|
||||||
<https://fredrikbk.com/publications/copy-and-patch.pdf>`_
|
|
|
@ -1 +0,0 @@
|
||||||
Make methods on :class:`collections.deque` thread-safe when the GIL is disabled.
|
|
|
@ -1 +0,0 @@
|
||||||
Convert :class:`collections.deque` to use Argument Clinic.
|
|
|
@ -1,4 +0,0 @@
|
||||||
frame.clear():
|
|
||||||
Clear frame.f_locals as well, and not only the fast locals.
|
|
||||||
This is relevant once frame.f_locals was accessed,
|
|
||||||
which would contain also references to all the locals.
|
|
|
@ -1 +0,0 @@
|
||||||
Implement the foundations of the Tier 2 redundancy eliminator.
|
|
|
@ -1 +0,0 @@
|
||||||
Make :class:`queue.SimpleQueue` thread safe when the GIL is disabled.
|
|
|
@ -1,2 +0,0 @@
|
||||||
The ``END_FOR`` instruction now pops only one value. This is to better
|
|
||||||
support side exits in loops.
|
|
|
@ -1,2 +0,0 @@
|
||||||
Fix segmentation fault caused by an incorrect format string
|
|
||||||
in ``TypeError`` exception when more than two arguments are passed to ``int``.
|
|
|
@ -1,3 +0,0 @@
|
||||||
The free-threaded build now has its own thread-safe GC implementation that
|
|
||||||
uses mimalloc to find GC tracked objects. It is non-generational, unlike the
|
|
||||||
existing GC implementation.
|
|
|
@ -1 +0,0 @@
|
||||||
Compiler propagates line numbers before optimization, leading to more optimization opportunities and removing the need for the ``guarantee_lineno_for_exits`` hack.
|
|
|
@ -1,5 +0,0 @@
|
||||||
Fix a :exc:`RuntimeWarning` emitted when assign an integer-like value that
|
|
||||||
is not an instance of :class:`int` to an attribute that corresponds to a C
|
|
||||||
struct member of :ref:`type <PyMemberDef-types>` T_UINT and T_ULONG. Fix a
|
|
||||||
double :exc:`RuntimeWarning` emitted when assign a negative integer value to
|
|
||||||
an attribute that corresponds to a C struct member of type T_UINT.
|
|
|
@ -1 +0,0 @@
|
||||||
Compiler applies folding of LOAD_CONST with following instruction in a separate pass before other optimisations. This enables jump threading in certain circumstances.
|
|
|
@ -1 +0,0 @@
|
||||||
Lower the recursion limit under a debug build of WASI.
|
|
|
@ -1,4 +0,0 @@
|
||||||
The free-threaded build no longer allocates space for the ``PyGC_Head``
|
|
||||||
structure in objects that support cyclic garbage collection. A number of
|
|
||||||
other fields and data structures are used as replacements, including
|
|
||||||
``ob_gc_bits``, ``ob_tid``, and mimalloc internal data structures.
|
|
|
@ -1 +0,0 @@
|
||||||
Improve error message for function calls with bad keyword arguments via getargs
|
|
|
@ -1,3 +0,0 @@
|
||||||
No longer specialize calls to classes, if those classes have metaclasses.
|
|
||||||
Fixes bug where the ``__call__`` method of the metaclass was not being
|
|
||||||
called.
|
|
|
@ -1,3 +0,0 @@
|
||||||
The :func:`chr` builtin function now always raises :exc:`ValueError` for
|
|
||||||
values outside the valid range. Previously it raised :exc:`OverflowError` for
|
|
||||||
very large or small values.
|
|
|
@ -1,2 +0,0 @@
|
||||||
Limit the number of versions that a single class can use. Prevents a few
|
|
||||||
wayward classes using up all the version numbers.
|
|
|
@ -1 +0,0 @@
|
||||||
Fixes a race between ``PyParkingLot_Park`` and ``_PyParkingLot_UnparkAll``.
|
|
|
@ -1,2 +0,0 @@
|
||||||
Changed socket type validation in :meth:`~asyncio.loop.create_datagram_endpoint` to accept all non-stream sockets.
|
|
||||||
This fixes a regression in compatibility with raw sockets.
|
|
|
@ -1,3 +0,0 @@
|
||||||
Setters for members with an unsigned integer type now support the same range
|
|
||||||
of valid values for objects that has a :meth:`~object.__index__` method as
|
|
||||||
for :class:`int`.
|
|
|
@ -1 +0,0 @@
|
||||||
Adapt :class:`set` and :class:`frozenset` methods to Argument Clinic.
|
|
|
@ -1,2 +0,0 @@
|
||||||
Fix compilation crashes in uncommon code examples using :func:`super` inside
|
|
||||||
a comprehension in a class body.
|
|
|
@ -1,3 +0,0 @@
|
||||||
Add :func:`sys._clear_internal_caches`, which clears all internal
|
|
||||||
performance-related caches (and deprecate the less-general
|
|
||||||
:func:`sys._clear_type_cache` function).
|
|
|
@ -1,3 +0,0 @@
|
||||||
Add :exc:`PythonFinalizationError` exception. This exception derived from
|
|
||||||
:exc:`RuntimeError` is raised when an operation is blocked during the
|
|
||||||
:term:`Python finalization <interpreter shutdown>`. Patch by Victor Stinner.
|
|
|
@ -1,2 +0,0 @@
|
||||||
For an empty reverse iterator for list will be reduced to :func:`reversed`.
|
|
||||||
Patch by Donghee Na
|
|
|
@ -1,7 +0,0 @@
|
||||||
Move the :mod:`csv` module docstring to the :mod:`!csv` module
|
|
||||||
instead of reexporting it from the internal :mod:`!_csv` module,
|
|
||||||
and remove ``__doc__`` from ``csv.__all__``.
|
|
||||||
|
|
||||||
Move :attr:`!csv.__version__` to the :mod:`!csv` module
|
|
||||||
instead of reexporting it from the internal :mod:`!_csv` module,
|
|
||||||
and remove ``__version__`` from ``csv.__all__``.
|
|
|
@ -1 +0,0 @@
|
||||||
Fix an example for :class:`~logging.LoggerAdapter` in the Logging Cookbook.
|
|
|
@ -1,2 +0,0 @@
|
||||||
Revise IDLE bindings so that events from mouse button 4/5 on non-X11
|
|
||||||
windowing systems (i.e. Win32 and Aqua) are not mistaken for scrolling.
|
|
|
@ -1 +0,0 @@
|
||||||
In idlelib code, stop redefining built-ins 'dict' and 'object'.
|
|
|
@ -1 +0,0 @@
|
||||||
The ``inspect`` functions ``isgeneratorfunction``, ``iscoroutinefunction``, ``isasyncgenfunction`` now support ``functools.partialmethod`` wrapped functions the same way they support ``functools.partial``.
|
|
|
@ -1,4 +0,0 @@
|
||||||
Add :func:`os.path.isreserved`, which identifies reserved pathnames such
|
|
||||||
as "NUL", "AUX" and "CON". This function is only available on Windows.
|
|
||||||
|
|
||||||
Deprecate :meth:`pathlib.PurePath.is_reserved`.
|
|
|
@ -1,3 +0,0 @@
|
||||||
When :func:`os.fork` is called from a foreign thread (aka ``_DummyThread``),
|
|
||||||
the type of the thread in a child process is changed to ``_MainThread``.
|
|
||||||
Also changed its name and daemonic status, it can be now joined.
|
|
|
@ -1,2 +0,0 @@
|
||||||
Add POSIX pseudo-terminal functions :func:`os.posix_openpt`,
|
|
||||||
:func:`os.grantpt`, :func:`os.unlockpt`, and :func:`os.ptsname`.
|
|
|
@ -1 +0,0 @@
|
||||||
Changed argparse flag options formatting to remove redundancy.
|
|
|
@ -1 +0,0 @@
|
||||||
Add :py:class:`queue.Queue` termination with :py:meth:`~queue.Queue.shutdown`.
|
|
|
@ -1,3 +0,0 @@
|
||||||
Fix null pointer dereference in :func:`lzma._decode_filter_properties`
|
|
||||||
due to improper handling of BCJ filters with properties of zero length.
|
|
||||||
Patch by Radislav Chugunov.
|
|
|
@ -1,2 +0,0 @@
|
||||||
Allow :class:`ctypes.Union` to be nested in :class:`ctypes.Structure` when
|
|
||||||
the system endianness is the opposite of the classes.
|
|
|
@ -1,2 +0,0 @@
|
||||||
Fix stacklevel in ``InvalidTZPathWarning`` during :mod:`zoneinfo` module
|
|
||||||
import.
|
|
|
@ -1 +0,0 @@
|
||||||
Set unixfrom envelope in :class:`mailbox.mbox` and :class:`mailbox.MMDF`.
|
|
|
@ -1,3 +0,0 @@
|
||||||
Fix race condition in :mod:`trace`. Instead of checking if a directory
|
|
||||||
exists and creating it, directly call :func:`os.makedirs` with the kwarg
|
|
||||||
``exist_ok=True``.
|
|
|
@ -1 +0,0 @@
|
||||||
Show the Tcl/Tk patchlevel (rather than version) in :meth:`tkinter._test`.
|
|
|
@ -1 +0,0 @@
|
||||||
Added check for file modification during debugging with :mod:`pdb`
|
|
|
@ -1,2 +0,0 @@
|
||||||
Many functions now emit a warning if a boolean value is passed as a file
|
|
||||||
descriptor argument.
|
|
|
@ -1,8 +0,0 @@
|
||||||
Fix the :mod:`tkinter` widget method :meth:`!wm_attributes`. It now
|
|
||||||
accepts the attribute name without the minus prefix to get window attributes
|
|
||||||
and allows to specify attributes and values to set as keyword arguments.
|
|
||||||
Add new optional keyword argument *return_python_dict*: calling
|
|
||||||
``w.wm_attributes(return_python_dict=True)`` returns the attributes as
|
|
||||||
a dict instead of a tuple.
|
|
||||||
Calling ``w.wm_attributes()`` now returns a tuple instead of string if
|
|
||||||
*wantobjects* was set to 0.
|
|
|
@ -1 +0,0 @@
|
||||||
Recognise ``image/webp`` as a standard format in the :mod:`mimetypes` module.
|
|
|
@ -1,2 +0,0 @@
|
||||||
Add option to calendar module CLI to specify the weekday to start each week.
|
|
||||||
Patch by Steven Ward.
|
|
|
@ -1 +0,0 @@
|
||||||
Improve handling of pdb convenience variables to avoid replacing string contents.
|
|
|
@ -1 +0,0 @@
|
||||||
Set breakpoint on the first executable line of the function, instead of the line of function definition when the user do ``break func`` using :mod:`pdb`
|
|
|
@ -1,2 +0,0 @@
|
||||||
Speed-up :func:`datetime.datetime.replace`, :func:`datetime.date.replace` and
|
|
||||||
:func:`datetime.time.replace`.
|
|
|
@ -1,6 +0,0 @@
|
||||||
When replace() method is called on a subclass of datetime, date or time,
|
|
||||||
properly call derived constructor. Previously, only the base class's
|
|
||||||
constructor was called.
|
|
||||||
|
|
||||||
Also, make sure to pass non-zero fold values when creating subclasses in
|
|
||||||
various methods. Previously, fold was silently ignored.
|
|
|
@ -1,2 +0,0 @@
|
||||||
Speed up :meth:`pathlib.Path.walk` by using :attr:`os.DirEntry.path` where
|
|
||||||
possible.
|
|
|
@ -1,2 +0,0 @@
|
||||||
Fix support of :data:`~csv.QUOTE_NOTNULL` and :data:`~csv.QUOTE_STRINGS` in
|
|
||||||
:func:`csv.reader`.
|
|
|
@ -1,3 +0,0 @@
|
||||||
Add more validation checks in the :class:`csv.Dialect` constructor.
|
|
||||||
:exc:`ValueError` is now raised if the same character is used in different
|
|
||||||
roles.
|
|
|
@ -1,7 +0,0 @@
|
||||||
Fix rendering class methods, bound methods, method and function aliases in
|
|
||||||
:mod:`pydoc`. Class methods no longer have "method of builtins.type
|
|
||||||
instance" note. Corresponding notes are now added for class and unbound
|
|
||||||
methods. Method and function aliases now have references to the module or
|
|
||||||
the class where the origin was defined if it differs from the current. Bound
|
|
||||||
methods are now listed in the static methods section. Methods of builtin
|
|
||||||
classes are now supported as well as methods of Python classes.
|
|
|
@ -1,7 +0,0 @@
|
||||||
Fix the behavior of ``tag_unbind()`` methods of :class:`tkinter.Text` and
|
|
||||||
:class:`tkinter.Canvas` classes with three arguments. Previously,
|
|
||||||
``widget.tag_unbind(tag, sequence, funcid)`` destroyed the current binding
|
|
||||||
for *sequence*, leaving *sequence* unbound, and deleted the *funcid*
|
|
||||||
command. Now it removes only *funcid* from the binding for *sequence*,
|
|
||||||
keeping other commands, and deletes the *funcid* command. It leaves
|
|
||||||
*sequence* unbound only if *funcid* was the last bound command.
|
|
|
@ -1 +0,0 @@
|
||||||
Ensure that a :func:`asyncio.Condition.notify` call does not get lost if the awakened ``Task`` is simultaneously cancelled or encounters any other error.
|
|
|
@ -1,2 +0,0 @@
|
||||||
Accept :term:`path-like objects <path-like object>` as patterns in
|
|
||||||
:meth:`pathlib.Path.glob` and :meth:`~pathlib.Path.rglob`.
|
|
|
@ -1,3 +0,0 @@
|
||||||
Fix a reference leak in
|
|
||||||
:class:`asyncio.selector_events.BaseSelectorEventLoop` when SSL handshakes
|
|
||||||
fail. Patch contributed by Jamie Phan.
|
|
|
@ -1 +0,0 @@
|
||||||
Speed up ``dataclasses.asdict`` up to 1.35x.
|
|
|
@ -1,2 +0,0 @@
|
||||||
Support deprecation of options, positional arguments and subcommands in
|
|
||||||
:mod:`argparse`.
|
|
|
@ -1 +0,0 @@
|
||||||
Enum: correctly handle tuple subclasses in custom ``__new__``.
|
|
|
@ -1,3 +0,0 @@
|
||||||
:exc:`OSError` raised when run a subprocess now only has *filename*
|
|
||||||
attribute set to *cwd* if the error was caused by a failed attempt to change
|
|
||||||
the current directory.
|
|
|
@ -1,2 +0,0 @@
|
||||||
The signature for the ``__replace__`` method on :mod:`dataclasses` now has
|
|
||||||
the first argument named ``self``, rather than ``obj``.
|
|
|
@ -1,4 +0,0 @@
|
||||||
Avoid reference cycle in ElementTree.iterparse. The iterator returned by
|
|
||||||
``ElementTree.iterparse`` may hold on to a file descriptor. The reference
|
|
||||||
cycle prevented prompt clean-up of the file descriptor if the returned
|
|
||||||
iterator was not exhausted.
|
|
|
@ -1,3 +0,0 @@
|
||||||
Remove type hints from ``Lib/asyncio/staggered.py``.
|
|
||||||
The annotations in the `typeshed <https://github.com/python/typeshed>`__
|
|
||||||
project should be used instead.
|
|
|
@ -1,4 +0,0 @@
|
||||||
The :func:`tty.setcbreak` and new :func:`tty.cfmakecbreak` no longer clears
|
|
||||||
the terminal input ICRLF flag. This fixes a regression introduced in 3.12
|
|
||||||
that no longer matched how OSes define cbreak mode in their ``stty(1)``
|
|
||||||
manual pages.
|
|
|
@ -1,2 +0,0 @@
|
||||||
Expose more platform specific constants in the :mod:`fcntl` module on Linux,
|
|
||||||
macOS, FreeBSD and NetBSD.
|
|
|
@ -1,2 +0,0 @@
|
||||||
Dismiss the :exc:`FileNotFound` error in :func:`ctypes.util.find_library` and
|
|
||||||
just return ``None`` on Linux.
|
|
|
@ -1 +0,0 @@
|
||||||
``_DummyThread`` entries in ``threading._active`` are now automatically removed when the related thread dies.
|
|
|
@ -1,2 +0,0 @@
|
||||||
Ignore an :exc:`OSError` in :meth:`asyncio.BaseEventLoop.create_server` when
|
|
||||||
IPv6 is available but the interface cannot actually support it.
|
|
|
@ -1,2 +0,0 @@
|
||||||
Revert changes in :gh:`106584` which made calls of ``TestResult`` methods
|
|
||||||
``startTest()`` and ``stopTest()`` unbalanced.
|
|
|
@ -1,2 +0,0 @@
|
||||||
Add :mod:`dbm.sqlite3` as a backend to :mod:`dbm`, and make it the new default :mod:`!dbm` backend.
|
|
||||||
Patch by Raymond Hettinger and Erlend E. Aasland.
|
|
|
@ -1,2 +0,0 @@
|
||||||
Make :class:`threading.Lock` a real class, not a factory function. Add
|
|
||||||
``__new__`` to ``_thread.lock`` type.
|
|
|
@ -1,2 +0,0 @@
|
||||||
Make the result of :func:`termios.tcgetattr` reproducible on Alpine Linux.
|
|
||||||
Previously it could leave a random garbage in some fields.
|
|
|
@ -1 +0,0 @@
|
||||||
Reduce the import time of :mod:`threading` module by ~50%. Patch by Daniel Hollas.
|
|
|
@ -1,2 +0,0 @@
|
||||||
Add the :meth:`!close` method for the iterator returned by
|
|
||||||
:func:`xml.etree.ElementTree.iterparse`.
|
|
|
@ -1,2 +0,0 @@
|
||||||
Prohibit subclassing pure-Python :class:`datetime.timezone`. This is consistent
|
|
||||||
with C-extension implementation. Patch by Mariusz Felisiak.
|
|
|
@ -1,3 +0,0 @@
|
||||||
Add *filter* keyword-only parameter to
|
|
||||||
:meth:`sqlite3.Connection.iterdump` for filtering database objects to dump.
|
|
||||||
Patch by Mariusz Felisiak.
|
|
|
@ -1,5 +0,0 @@
|
||||||
Synchronization of the :mod:`dbm.dumb` database is now no-op if there was no
|
|
||||||
modification since opening or last synchronization.
|
|
||||||
The directory file for a newly created empty :mod:`dbm.dumb` database is now
|
|
||||||
created immediately after opening instead of deferring this until
|
|
||||||
synchronizing or closing.
|
|
|
@ -1,2 +0,0 @@
|
||||||
:meth:`email.policy.EmailPolicy.fold` now always encodes non-ASCII characters
|
|
||||||
in headers if :attr:`~email.policy.EmailPolicy.utf8` is false.
|
|
|
@ -1,2 +0,0 @@
|
||||||
Fix a leak of open socket in rare cases when error occurred in
|
|
||||||
:class:`ssl.SSLSocket` creation.
|
|
|
@ -1 +0,0 @@
|
||||||
Improve import time of :mod:`importlib.metadata` and :mod:`email.utils`.
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue