gh-123299: Copyedit "What's New in Python 3.14" (#128814)

This commit is contained in:
Hugo van Kemenade 2025-01-14 10:53:03 +02:00 committed by GitHub
parent 99327d1241
commit 98301326e4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 18 additions and 13 deletions

View file

@ -57,6 +57,11 @@ Pending removal in Python 3.16
In the rare case that you need the bitwise inversion of
the underlying integer, convert to ``int`` explicitly (``~int(x)``).
* :mod:`functools`:
* Calling the Python implementation of :func:`functools.reduce` with *function*
or *sequence* as keyword arguments has been deprecated since Python 3.14.
* :mod:`shutil`:
* The :class:`!ExecError` exception
@ -79,8 +84,3 @@ Pending removal in Python 3.16
* The undocumented and unused :attr:`!TarFile.tarfile` attribute
has been deprecated since Python 3.13.
* :mod:`functools`:
* Calling the Python implementation of :func:`functools.reduce` with *function*
or *sequence* as keyword arguments has been deprecated since Python 3.14.

View file

@ -67,6 +67,7 @@ Summary -- release highlights
* :ref:`PEP 649: deferred evaluation of annotations <whatsnew314-pep649>`
* :ref:`PEP 741: Python Configuration C API <whatsnew314-pep741>`
* :ref:`PEP 761: Discontinuation of PGP signatures <whatsnew314-pep761>`
New features
@ -583,13 +584,6 @@ pdb
command when :mod:`pdb` is in ``inline`` mode.
(Contributed by Tian Gao in :gh:`123757`.)
platform
--------
* Add :func:`platform.invalidate_caches` to invalidate the cached results.
(Contributed by Bénédikt Tran in :gh:`122549`.)
pickle
------
@ -601,6 +595,15 @@ pickle
of the error.
(Contributed by Serhiy Storchaka in :gh:`122213`.)
platform
--------
* Add :func:`platform.invalidate_caches` to invalidate the cached results.
(Contributed by Bénédikt Tran in :gh:`122549`.)
pydoc
-----
@ -1123,9 +1126,11 @@ Changes in the Python API
Build changes
=============
* GNU Autoconf 2.72 is now required to generate :file:`!configure`.
* GNU Autoconf 2.72 is now required to generate :file:`configure`.
(Contributed by Erlend Aasland in :gh:`115765`.)
.. _whatsnew314-pep761:
PEP 761: Discontinuation of PGP signatures
------------------------------------------