mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
Python 3.13.3
This commit is contained in:
parent
67c7de49dc
commit
6280bb5478
108 changed files with 1119 additions and 240 deletions
|
|
@ -199,6 +199,6 @@ would typically correspond to a python function.
|
|||
|
||||
.. versionadded:: 3.13
|
||||
|
||||
.. deprecated:: next
|
||||
.. deprecated:: 3.13.3
|
||||
|
||||
This function is :term:`soft deprecated`.
|
||||
|
|
|
|||
|
|
@ -18,12 +18,12 @@
|
|||
/*--start constants--*/
|
||||
#define PY_MAJOR_VERSION 3
|
||||
#define PY_MINOR_VERSION 13
|
||||
#define PY_MICRO_VERSION 2
|
||||
#define PY_MICRO_VERSION 3
|
||||
#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_FINAL
|
||||
#define PY_RELEASE_SERIAL 0
|
||||
|
||||
/* Version as a string */
|
||||
#define PY_VERSION "3.13.2+"
|
||||
#define PY_VERSION "3.13.3"
|
||||
/*--end constants--*/
|
||||
|
||||
/* Version as a single 4-byte hex number, e.g. 0x010502B2 == 1.5.2b2.
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# Autogenerated by Sphinx on Sat Feb 22 02:02:02 2025
|
||||
# Autogenerated by Sphinx on Tue Apr 8 15:54:03 2025
|
||||
# as part of the release process.
|
||||
|
||||
topics = {
|
||||
|
|
@ -2689,7 +2689,7 @@ section The standard type hierarchy):
|
|||
parameter_list_no_posonly ::= defparameter ("," defparameter)* ["," [parameter_list_starargs]]
|
||||
| parameter_list_starargs
|
||||
parameter_list_starargs ::= "*" [star_parameter] ("," defparameter)* ["," [parameter_star_kwargs]]
|
||||
"*" ("," defparameter)+ ["," [parameter_star_kwargs]]
|
||||
| "*" ("," defparameter)+ ["," [parameter_star_kwargs]]
|
||||
| parameter_star_kwargs
|
||||
parameter_star_kwargs ::= "**" parameter [","]
|
||||
parameter ::= identifier [":" expression]
|
||||
|
|
@ -3787,7 +3787,7 @@ and local names are offered as arguments of the "p" command.
|
|||
You can also invoke "pdb" from the command line to debug other
|
||||
scripts. For example:
|
||||
|
||||
python -m pdb myscript.py
|
||||
python -m pdb [-c command] (-m module | pyfile) [args ...]
|
||||
|
||||
When invoked as a module, pdb will automatically enter post-mortem
|
||||
debugging if the program being debugged exits abnormally. After post-
|
||||
|
|
@ -3796,12 +3796,20 @@ restart the program. Automatic restarting preserves pdb’s state (such
|
|||
as breakpoints) and in most cases is more useful than quitting the
|
||||
debugger upon program’s exit.
|
||||
|
||||
Changed in version 3.2: Added the "-c" option to execute commands as
|
||||
if given in a ".pdbrc" file; see Debugger Commands.
|
||||
-c, --command <command>
|
||||
|
||||
Changed in version 3.7: Added the "-m" option to execute modules
|
||||
similar to the way "python -m" does. As with a script, the debugger
|
||||
will pause execution just before the first line of the module.
|
||||
To execute commands as if given in a ".pdbrc" file; see Debugger
|
||||
Commands.
|
||||
|
||||
Changed in version 3.2: Added the "-c" option.
|
||||
|
||||
-m <module>
|
||||
|
||||
To execute modules similar to the way "python -m" does. As with a
|
||||
script, the debugger will pause execution just before the first
|
||||
line of the module.
|
||||
|
||||
Changed in version 3.7: Added the "-m" option.
|
||||
|
||||
Typical usage to execute a statement under control of the debugger is:
|
||||
|
||||
|
|
@ -5153,14 +5161,16 @@ format specification typically modifies the result.
|
|||
|
||||
The general form of a *standard format specifier* is:
|
||||
|
||||
format_spec ::= [[fill]align][sign]["z"]["#"]["0"][width][grouping_option]["." precision][type]
|
||||
fill ::= <any character>
|
||||
align ::= "<" | ">" | "=" | "^"
|
||||
sign ::= "+" | "-" | " "
|
||||
width ::= digit+
|
||||
grouping_option ::= "_" | ","
|
||||
precision ::= digit+
|
||||
type ::= "b" | "c" | "d" | "e" | "E" | "f" | "F" | "g" | "G" | "n" | "o" | "s" | "x" | "X" | "%"
|
||||
format_spec ::= [options][width][grouping]["." precision][type]
|
||||
options ::= [[fill]align][sign]["z"]["#"]["0"]
|
||||
fill ::= <any character>
|
||||
align ::= "<" | ">" | "=" | "^"
|
||||
sign ::= "+" | "-" | " "
|
||||
width ::= digit+
|
||||
grouping ::= "," | "_"
|
||||
precision ::= digit+
|
||||
type ::= "b" | "c" | "d" | "e" | "E" | "f" | "F" | "g"
|
||||
| "G" | "n" | "o" | "s" | "x" | "X" | "%"
|
||||
|
||||
If a valid *align* value is specified, it can be preceded by a *fill*
|
||||
character that can be any character and defaults to a space if
|
||||
|
|
@ -5202,13 +5212,13 @@ the following:
|
|||
+-----------+------------------------------------------------------------+
|
||||
| Option | Meaning |
|
||||
|===========|============================================================|
|
||||
| "'+'" | indicates that a sign should be used for both positive as |
|
||||
| "'+'" | Indicates that a sign should be used for both positive as |
|
||||
| | well as negative numbers. |
|
||||
+-----------+------------------------------------------------------------+
|
||||
| "'-'" | indicates that a sign should be used only for negative |
|
||||
| "'-'" | Indicates that a sign should be used only for negative |
|
||||
| | numbers (this is the default behavior). |
|
||||
+-----------+------------------------------------------------------------+
|
||||
| space | indicates that a leading space should be used on positive |
|
||||
| space | Indicates that a leading space should be used on positive |
|
||||
| | numbers, and a minus sign on negative numbers. |
|
||||
+-----------+------------------------------------------------------------+
|
||||
|
||||
|
|
@ -5231,26 +5241,10 @@ point character appears in the result of these conversions only if a
|
|||
digit follows it. In addition, for "'g'" and "'G'" conversions,
|
||||
trailing zeros are not removed from the result.
|
||||
|
||||
The "','" option signals the use of a comma for a thousands separator
|
||||
for floating-point presentation types and for integer presentation
|
||||
type "'d'". For other presentation types, this option is an error. For
|
||||
a locale aware separator, use the "'n'" integer presentation type
|
||||
instead.
|
||||
|
||||
Changed in version 3.1: Added the "','" option (see also **PEP 378**).
|
||||
|
||||
The "'_'" option signals the use of an underscore for a thousands
|
||||
separator for floating-point presentation types and for integer
|
||||
presentation type "'d'". For integer presentation types "'b'", "'o'",
|
||||
"'x'", and "'X'", underscores will be inserted every 4 digits. For
|
||||
other presentation types, specifying this option is an error.
|
||||
|
||||
Changed in version 3.6: Added the "'_'" option (see also **PEP 515**).
|
||||
|
||||
*width* is a decimal integer defining the minimum total field width,
|
||||
including any prefixes, separators, and other formatting characters.
|
||||
If not specified, then the field width will be determined by the
|
||||
content.
|
||||
The *width* is a decimal integer defining the minimum total field
|
||||
width, including any prefixes, separators, and other formatting
|
||||
characters. If not specified, then the field width will be determined
|
||||
by the content.
|
||||
|
||||
When no explicit alignment is given, preceding the *width* field by a
|
||||
zero ("'0'") character enables sign-aware zero-padding for numeric
|
||||
|
|
@ -5260,6 +5254,32 @@ of "'0'" with an *alignment* type of "'='".
|
|||
Changed in version 3.10: Preceding the *width* field by "'0'" no
|
||||
longer affects the default alignment for strings.
|
||||
|
||||
The *grouping* option after the *width* field specifies a digit group
|
||||
separator for the integral part of a number. It can be one of the
|
||||
following:
|
||||
|
||||
+-----------+------------------------------------------------------------+
|
||||
| Option | Meaning |
|
||||
|===========|============================================================|
|
||||
| "','" | Inserts a comma every 3 digits for integer presentation |
|
||||
| | type "'d'" and floating-point presentation types, |
|
||||
| | excluding "'n'". For other presentation types, this option |
|
||||
| | is not supported. |
|
||||
+-----------+------------------------------------------------------------+
|
||||
| "'_'" | Inserts an underscore every 3 digits for integer |
|
||||
| | presentation type "'d'" and floating-point presentation |
|
||||
| | types, excluding "'n'". For integer presentation types |
|
||||
| | "'b'", "'o'", "'x'", and "'X'", underscores are inserted |
|
||||
| | every 4 digits. For other presentation types, this option |
|
||||
| | is not supported. |
|
||||
+-----------+------------------------------------------------------------+
|
||||
|
||||
For a locale aware separator, use the "'n'" presentation type instead.
|
||||
|
||||
Changed in version 3.1: Added the "','" option (see also **PEP 378**).
|
||||
|
||||
Changed in version 3.6: Added the "'_'" option (see also **PEP 515**).
|
||||
|
||||
The *precision* is a decimal integer indicating how many digits should
|
||||
be displayed after the decimal point for presentation types "'f'" and
|
||||
"'F'", or before and after the decimal point for presentation types
|
||||
|
|
@ -5304,8 +5324,8 @@ The available integer presentation types are:
|
|||
| | as well. |
|
||||
+-----------+------------------------------------------------------------+
|
||||
| "'n'" | Number. This is the same as "'d'", except that it uses the |
|
||||
| | current locale setting to insert the appropriate number |
|
||||
| | separator characters. |
|
||||
| | current locale setting to insert the appropriate digit |
|
||||
| | group separators. |
|
||||
+-----------+------------------------------------------------------------+
|
||||
| None | The same as "'d'". |
|
||||
+-----------+------------------------------------------------------------+
|
||||
|
|
@ -5376,8 +5396,8 @@ The available presentation types for "float" and "Decimal" values are:
|
|||
| | and NaN are uppercased, too. |
|
||||
+-----------+------------------------------------------------------------+
|
||||
| "'n'" | Number. This is the same as "'g'", except that it uses the |
|
||||
| | current locale setting to insert the appropriate number |
|
||||
| | separator characters. |
|
||||
| | current locale setting to insert the appropriate digit |
|
||||
| | group separators for the integral part of a number. |
|
||||
+-----------+------------------------------------------------------------+
|
||||
| "'%'" | Percentage. Multiplies the number by 100 and displays in |
|
||||
| | fixed ("'f'") format, followed by a percent sign. |
|
||||
|
|
@ -5500,10 +5520,16 @@ Replacing "%x" and "%o" and converting the value to different bases:
|
|||
>>> "int: {0:d}; hex: {0:#x}; oct: {0:#o}; bin: {0:#b}".format(42)
|
||||
'int: 42; hex: 0x2a; oct: 0o52; bin: 0b101010'
|
||||
|
||||
Using the comma as a thousands separator:
|
||||
Using the comma or the underscore as a digit group separator:
|
||||
|
||||
>>> '{:,}'.format(1234567890)
|
||||
'1,234,567,890'
|
||||
>>> '{:_}'.format(1234567890)
|
||||
'1_234_567_890'
|
||||
>>> '{:_b}'.format(1234567890)
|
||||
'100_1001_1001_0110_0000_0010_1101_0010'
|
||||
>>> '{:_x}'.format(1234567890)
|
||||
'4996_02d2'
|
||||
|
||||
Expressing a percentage:
|
||||
|
||||
|
|
@ -5563,7 +5589,7 @@ section The standard type hierarchy):
|
|||
parameter_list_no_posonly ::= defparameter ("," defparameter)* ["," [parameter_list_starargs]]
|
||||
| parameter_list_starargs
|
||||
parameter_list_starargs ::= "*" [star_parameter] ("," defparameter)* ["," [parameter_star_kwargs]]
|
||||
"*" ("," defparameter)+ ["," [parameter_star_kwargs]]
|
||||
| "*" ("," defparameter)+ ["," [parameter_star_kwargs]]
|
||||
| parameter_star_kwargs
|
||||
parameter_star_kwargs ::= "**" parameter [","]
|
||||
parameter ::= identifier [":" expression]
|
||||
|
|
@ -11567,7 +11593,7 @@ class dict(iterable, **kwargs)
|
|||
to be a mutable object such as an empty list. To get distinct
|
||||
values, use a dict comprehension instead.
|
||||
|
||||
get(key, default=None)
|
||||
get(key, default=None, /)
|
||||
|
||||
Return the value for *key* if *key* is in the dictionary, else
|
||||
*default*. If *default* is not given, it defaults to "None", so
|
||||
|
|
@ -11608,7 +11634,7 @@ class dict(iterable, **kwargs)
|
|||
|
||||
Added in version 3.8.
|
||||
|
||||
setdefault(key, default=None)
|
||||
setdefault(key, default=None, /)
|
||||
|
||||
If *key* is in the dictionary, return its value. If not, insert
|
||||
*key* with a value of *default* and return *default*. *default*
|
||||
|
|
|
|||
1041
Misc/NEWS.d/3.13.3.rst
Normal file
1041
Misc/NEWS.d/3.13.3.rst
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -1,2 +0,0 @@
|
|||
Drop ``test_embed`` from PGO training, whose contribution in recent
|
||||
versions is considered to be ignorable.
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
Don't redefine ``_Py_NO_SANITIZE_UNDEFINED`` when compiling with a recent
|
||||
GCC version and undefined sanitizer enabled.
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
Ensure that ``Python.h`` is included before ``stdbool.h`` unless ``pyconfig.h``
|
||||
is included before or in some platform-specific contexts.
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
Fix potential ``KeyError`` when handling object sections during JIT building
|
||||
process.
|
||||
|
|
@ -1 +0,0 @@
|
|||
Fix mimalloc library builds for 32-bit ARM targets.
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
The DTrace build now properly passes the ``CC`` and ``CFLAGS`` variables
|
||||
to the ``dtrace`` command when utilizing SystemTap on Linux.
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
Update :c:func:`PyGC_Enable()`, :c:func:`PyGC_Disable()`,
|
||||
:c:func:`PyGC_IsEnabled()` to use atomic operation for thread-safety
|
||||
at free-threading build. Patch by Donghee Na.
|
||||
|
|
@ -1 +0,0 @@
|
|||
Update PyUnstable_GC_VisitObjects to traverse perm gen.
|
||||
|
|
@ -1 +0,0 @@
|
|||
Fix the potential races in get/set dunder methods ``__annotations__``, ``__annotate__`` and ``__type_params__`` for function object, and add related tests.
|
||||
|
|
@ -1 +0,0 @@
|
|||
Fix thread safety of :c:func:`PyList_SetItem` in free-threading builds. Patch by Kumar Aditya.
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
Fix race condition when raising :exc:`MemoryError` in the free threaded
|
||||
build.
|
||||
|
|
@ -1 +0,0 @@
|
|||
Fix thread safety of :c:func:`PyList_Insert` in free-threading builds.
|
||||
|
|
@ -1 +0,0 @@
|
|||
Fixed a race in ``_Py_qsbr_reserve`` in the free threading build.
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
Fix a race condition in the :term:`free threading` build when ``repr(set)``
|
||||
is called concurrently with ``set.clear()``.
|
||||
|
|
@ -1 +0,0 @@
|
|||
Fix data race in compile_template in :file:`sre.c`.
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
Fix location for SyntaxErrors of invalid escapes in the tokenizer. Patch by
|
||||
Pablo Galindo
|
||||
|
|
@ -1 +0,0 @@
|
|||
Fix a crash that occurs when calling :func:`locals` inside an inline comprehension that uses the same local variable as the outer frame scope where the variable is a free or cell var.
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
Fix possible crashes related to concurrent
|
||||
change and use of the :mod:`sys` module attributes.
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
``from __future__ import barry_as_FLUFL`` now works in more contexts,
|
||||
including when it is used in files, with the ``-c`` flag, and in the REPL
|
||||
when there are multiple statements on the same line. Previously, it worked
|
||||
only on subsequent lines in the REPL, and when the appropriate flags were
|
||||
passed directly to :func:`compile`. Patch by Pablo Galindo.
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
The time to handle a ``LINE`` event in sys.monitoring (and sys.settrace) is
|
||||
now independent of the number of lines in the code object.
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
Disallow ``__classdict__`` as the name of a type parameter. Using this
|
||||
name would previously crash the interpreter in some circumstances.
|
||||
|
|
@ -1 +0,0 @@
|
|||
Fix return codes inside :exc:`SystemExit` not getting returned by the REPL.
|
||||
|
|
@ -1 +0,0 @@
|
|||
Fix an issue with thread identifiers being sign-extended on some platforms.
|
||||
|
|
@ -1 +0,0 @@
|
|||
Fixing multiprocessing Resource Tracker process leaking, usually observed when running Python as PID 1.
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
Fix a bug that was causing ``UnicodeDecodeError`` or ``SystemError`` to be
|
||||
raised when using f-strings with ``lambda`` expressions with non-ASCII
|
||||
characters. Patch by Pablo Galindo
|
||||
|
|
@ -1 +0,0 @@
|
|||
Fix ``PyRefTracer_DESTROY`` not being sent from :file:`Python/ceval.c` ``Py_DECREF()``.
|
||||
|
|
@ -1 +0,0 @@
|
|||
Do not crash on negative ``column`` and ``end_column`` in :mod:`ast` locations.
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
Fix memory leak in the :term:`free threaded <free threading>` build when
|
||||
resizing a shared list or dictionary from multiple short-lived threads.
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
Fix a crash in the :term:`free threading` build when constructing a
|
||||
:class:`code` object with :attr:`~codeobject.co_consts` that contains instances
|
||||
of types that are not otherwise generated by the bytecode compiler.
|
||||
|
|
@ -1 +0,0 @@
|
|||
Fix incorrect exception handling in ``_PyModule_IsPossiblyShadowing``
|
||||
|
|
@ -1 +0,0 @@
|
|||
Fix data race in :data:`sys.monitoring` instrumentation while registering callback.
|
||||
|
|
@ -1 +0,0 @@
|
|||
Fix :func:`anext` failing on sync :meth:`~object.__anext__` raising an exception.
|
||||
|
|
@ -1 +0,0 @@
|
|||
Fix missing NULL check in ``_PyMem_FreeDelayed`` in :term:`free-threaded <free threading>` build.
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
Fix a performance regression that caused scaling bottlenecks in the free
|
||||
threaded build in 3.13.1 and 3.13.2.
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
Fix a crash when using an unbound method :term:`descriptor` object in a
|
||||
function where a bound method descriptor was used.
|
||||
|
|
@ -1 +0,0 @@
|
|||
Fix crash when calling :meth:`!list.append` as an unbound method.
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
C API: Document :c:func:`PyUnicode_RSplit`, :c:func:`PyUnicode_Partition` and
|
||||
:c:func:`PyUnicode_RPartition`.
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
The wheel tags supported by each macOS universal SDK option are now
|
||||
documented.
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
Require Sphinx 8.2.0 or later to build the Python documentation. Patch by
|
||||
Adam Turner.
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
Mention :class:`asyncio.Future` and :class:`asyncio.Task` in generic classes
|
||||
list.
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
Simplify displaying the IDLE doc by only copying the text section of
|
||||
idle.html to idlelib/help.html. Patch by Stan Ulbrych.
|
||||
|
|
@ -1 +0,0 @@
|
|||
Non-printing characters are now properly handled in the new REPL.
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
Fixed intermittent failures of :any:`os.confstr`, :any:`os.pathconf` and
|
||||
:any:`os.sysconf` on iOS and Android.
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
:mod:`xml.etree.ElementTree`: Fix a crash in :meth:`Element.remove
|
||||
<xml.etree.ElementTree.Element.remove>` when the element is
|
||||
concurrently mutated. Patch by Bénédikt Tran.
|
||||
|
|
@ -1 +0,0 @@
|
|||
Fix handling of the ``secure`` argument of :class:`logging.handlers.SMTPHandler`.
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
:mod:`xml.etree.ElementTree`: Fix a crash in :meth:`Element.find <xml.etree.ElementTree.Element.find>`,
|
||||
:meth:`Element.findtext <xml.etree.ElementTree.Element.findtext>` and
|
||||
:meth:`Element.findall <xml.etree.ElementTree.Element.findall>` when the tag
|
||||
to find implements an :meth:`~object.__eq__` method mutating the element
|
||||
being queried. Patch by Bénédikt Tran.
|
||||
|
|
@ -1 +0,0 @@
|
|||
Fix ``PyREPL`` on Windows to support more keybindings, like the :kbd:`Control-←` and :kbd:`Control-→` word-skipping keybindings and those with meta (i.e. :kbd:`Alt`), e.g. :kbd:`Alt-d` to ``kill-word`` or :kbd:`Alt-Backspace` ``backward-kill-word``.
|
||||
|
|
@ -1 +0,0 @@
|
|||
Support the *name* keyword argument for eager tasks in :func:`asyncio.loop.create_task`, :func:`asyncio.create_task` and :func:`asyncio.TaskGroup.create_task`, by passing on all *kwargs* to the task factory set by :func:`asyncio.loop.set_task_factory`.
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
Fix :func:`mimetypes.guess_type` to use default mapping for empty
|
||||
``Content-Type`` in registry.
|
||||
|
|
@ -1 +0,0 @@
|
|||
Fix possible extra reference when using objects returned by :func:`hashlib.sha256` under :term:`free threading`.
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
Scheduled the deprecation of the ``check_home`` argument of
|
||||
:func:`sysconfig.is_python_build` to Python 3.15.
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
Fix :mod:`pydoc` for methods with the ``__module__`` attribute equal to
|
||||
``None``.
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
Fix reading duplicated entries in :mod:`zipfile` by name.
|
||||
Reading duplicated entries (except the last one) by ``ZipInfo``
|
||||
now emits a warning instead of raising an exception.
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
Execution of multiple statements in the new REPL now stops immediately upon
|
||||
the first exception encountered. Patch by Bartosz Sławecki.
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
Fix bugs where :class:`sqlite3.Row` objects could segfault if their
|
||||
inherited :attr:`~sqlite3.Cursor.description` was set to ``None``. Patch by
|
||||
Erlend Aasland.
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
Update the locale alias mapping in the :mod:`locale` module to match the
|
||||
latest X Org locale alias mapping and support new locales in Glibc 2.41.
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
Update the deprecation warning of
|
||||
:meth:`importlib.abc.Loader.load_module`.
|
||||
|
|
@ -1 +0,0 @@
|
|||
Update bundled pip to 25.0.1
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
Remove broken :func:`functools.singledispatchmethod` caching introduced in
|
||||
:gh:`85160`.
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
Fix :class:`gzip.GzipFile` raising an unraisable exception during garbage
|
||||
collection when referring to a temporary object by breaking the reference
|
||||
loop with :mod:`weakref`.
|
||||
|
|
@ -1 +0,0 @@
|
|||
Fix :meth:`!asyncio.AbstractEventloop.run_forever` when another loop is already running.
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
Fix reference leaks in :func:`!_hashlib.hmac_new` and
|
||||
:func:`!_hashlib.hmac_digest`. Patch by Bénédikt Tran.
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
Fixed failure to raise :exc:`TypeError` in :meth:`inspect.Signature.bind`
|
||||
for positional-only arguments provided by keyword when a variadic keyword
|
||||
argument (e.g. ``**kwargs``) is present.
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
Reverts a change in the previous release attempting to make some stdlib
|
||||
imports used within the :mod:`subprocess` module lazy as this was causing
|
||||
errors during ``__del__`` finalizers calling methods such as ``terminate``, or
|
||||
``kill``, or ``send_signal``.
|
||||
|
|
@ -1 +0,0 @@
|
|||
Fix crash in :func:`pow` with only :class:`~decimal.Decimal` third argument.
|
||||
|
|
@ -1 +0,0 @@
|
|||
Fix regression in ``traceback.print_last()``.
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
Fix corner case for :func:`random.sample` allowing the *counts* parameter to
|
||||
specify an empty population. So now, ``sample([], 0, counts=[])`` and
|
||||
``sample('abc', k=0, counts=[0, 0, 0])`` both give the same result as
|
||||
``sample([], 0)``.
|
||||
|
|
@ -1 +0,0 @@
|
|||
The zipapp module now calculates the list of files to be added to the archive before creating the archive. This avoids accidentally including the target when it is being created in the source directory.
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
Remove ``.. index::`` directives from the :mod:`uuid` module documentation. These directives
|
||||
previously created entries in the general index for :func:`~uuid.getnode` as well as the
|
||||
:func:`~uuid.uuid1`, :func:`~uuid.uuid3`, :func:`~uuid.uuid4`, and :func:`~uuid.uuid5`
|
||||
constructor functions.
|
||||
|
|
@ -1 +0,0 @@
|
|||
Add validation for numeric response data in poplib.POP3.stat() method
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
Fix pure-Python implementation of :func:`datetime.time.fromisoformat` to reject
|
||||
times with spaces in fractional part (for example, ``12:34:56.400 +02:00``),
|
||||
matching the C implementation. Patch by Michał Gorny.
|
||||
|
|
@ -1 +0,0 @@
|
|||
Fix issue with ``__contains__``, values, and pseudo-members for :class:`enum.Flag`.
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
The ``PyConfig.use_system_logger`` attribute, introduced in Python 3.13.2, has
|
||||
been removed. The introduction of this attribute inadvertently introduced an
|
||||
ABI breakage on macOS and iOS. The use of the system logger is now enabled
|
||||
by default on iOS, and disabled by default on macOS.
|
||||
|
|
@ -1 +0,0 @@
|
|||
Use monospace font from System Font Stack for cross-platform support in :class:`difflib.HtmlDiff`.
|
||||
|
|
@ -1 +0,0 @@
|
|||
Fix incorrect argument passing in :func:`warnings.warn_explicit`.
|
||||
|
|
@ -1 +0,0 @@
|
|||
Fix sendfile fallback implementation to drain data after writing to transport in :mod:`asyncio`.
|
||||
|
|
@ -1 +0,0 @@
|
|||
Fix a resource leak when constructing a :class:`gzip.GzipFile` with a filename fails, for example when passing an invalid ``compresslevel``.
|
||||
|
|
@ -1 +0,0 @@
|
|||
:mod:`socket`: Fix code parsing AF_BLUETOOTH socket addresses.
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
Fix crash when deallocating :class:`contextvars.ContextVar` with weird
|
||||
unahashable string names.
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
Fix possible use of :mod:`socket` address structures with uninitialized
|
||||
members. Now all structure members are initialized with zeroes by default.
|
||||
|
|
@ -1 +0,0 @@
|
|||
Do not shadow user arguments in generated :meth:`!__new__` by decorator :class:`warnings.deprecated`. Patch by Xuehai Pan.
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
Introduce new ``_PYTHON_SUBPROCESS_USE_POSIX_SPAWN`` environment variable knob in
|
||||
:mod:`subprocess` to control the use of :func:`os.posix_spawn`.
|
||||
|
|
@ -1 +0,0 @@
|
|||
Fix crash of ``_interpreters.run_string`` on string subclasses.
|
||||
|
|
@ -1 +0,0 @@
|
|||
Fix function name in error message of ``_interpreters.run_string``.
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
Fix bug in the folding of rfc2047 encoded-words when flattening an email message
|
||||
using a modern email policy. Previously when an encoded-word was too long
|
||||
for a line, it would be decoded, split across lines, and re-encoded. But commas
|
||||
and other special characters in the original text could be left unencoded and
|
||||
unquoted. This could theoretically be used to spoof header lines using
|
||||
a carefully constructed encoded-word if the resulting rendered email was
|
||||
transmitted or re-parsed.
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
Avoid unbounded buffering for :meth:`!tempfile.SpooledTemporaryFile.writelines`.
|
||||
Previously, disk spillover was only checked after the lines iterator had been
|
||||
exhausted. This is now done after each line is written.
|
||||
|
|
@ -1 +0,0 @@
|
|||
Upgrade to libexpat 2.7.0
|
||||
|
|
@ -1 +0,0 @@
|
|||
Update bundled libexpat to 2.7.1
|
||||
|
|
@ -1 +0,0 @@
|
|||
Add unit tests for pyrepl.
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
The tests of terminal colorization are no longer sensitive to the value of
|
||||
the ``TERM`` variable in the testing environment.
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
The iOS testbed will now run successfully on a machine that has not
|
||||
previously run Xcode tests (such as CI configurations).
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
Multiple iOS testbed runners can now be started at the same time without
|
||||
introducing an ambiguity over simulator ownership.
|
||||
|
|
@ -1 +0,0 @@
|
|||
``test_ssl.test_dh_params`` is skipped if the underlying TLS library does not support finite-field ephemeral Diffie-Hellman.
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
The iOS testbed now correctly handles symlinks used as Python framework
|
||||
references.
|
||||
|
|
@ -1 +0,0 @@
|
|||
Correctly reset ``msgctxt`` when compiling messages in :program:`msgfmt`.
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
:program:`msgfmt` no longer adds the ``POT-Creation-Date`` to generated ``.mo`` files
|
||||
for consistency with GNU ``msgfmt``.
|
||||
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