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

This commit is contained in:
Hugo van Kemenade 2025-02-10 23:46:36 +02:00 committed by GitHub
parent 516c70d4dd
commit 1feaecc2bc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 16 additions and 19 deletions

View file

@ -1819,7 +1819,7 @@ Build Changes
* ``PYTHON_FOR_REGEN`` now require Python 3.10 or newer.
* Autoconf 2.71 and aclocal 1.16.4 is now required to regenerate
:file:`!configure`.
:file:`configure`.
(Contributed by Christian Heimes in :gh:`89886`.)
* Windows builds and macOS installers from python.org now use OpenSSL 3.0.

View file

@ -367,7 +367,7 @@ ctypes
* The layout of :ref:`bit fields <ctypes-bit-fields-in-structures-unions>`
in :class:`~ctypes.Structure` and :class:`~ctypes.Union`
now matches platform defaults (GCC/Clang or MVSC) more closely.
now matches platform defaults (GCC/Clang or MSVC) more closely.
In particular, fields no longer overlap.
(Contributed by Matthias Görgens in :gh:`97702`.)
@ -481,6 +481,14 @@ http
(Contributed by Yorik Hansen in :gh:`123430`.)
imaplib
-------
* Add :meth:`IMAP4.idle() <imaplib.IMAP4.idle>`, implementing the IMAP4
``IDLE`` command as defined in :rfc:`2177`.
(Contributed by Forest in :gh:`55454`.)
inspect
-------
@ -496,13 +504,6 @@ inspect
:term:`package` or not.
(Contributed by Zhikang Yan in :gh:`125634`.)
imaplib
-------
* Add :meth:`IMAP4.idle() <imaplib.IMAP4.idle>`, implementing the IMAP4
``IDLE`` command as defined in :rfc:`2177`.
(Contributed by Forest in :gh:`55454`.)
io
--
@ -631,7 +632,6 @@ pathlib
:func:`~os.stat` results. Path objects generated by
:meth:`~pathlib.Path.iterdir` are initialized with file type information
gleaned from scanning the parent directory.
(Contributed by Barney Gale in :gh:`125413`.)
@ -670,7 +670,6 @@ platform
--------
* Add :func:`platform.invalidate_caches` to invalidate the cached results.
(Contributed by Bénédikt Tran in :gh:`122549`.)
@ -809,13 +808,11 @@ zipinfo
* Added :func:`ZipInfo._for_archive <zipfile.ZipInfo._for_archive>`
to resolve suitable defaults for a :class:`~zipfile.ZipInfo` object
as used by :func:`ZipFile.writestr <zipfile.ZipFile.writestr>`.
(Contributed by Bénédikt Tran in :gh:`123424`.)
* :meth:`zipfile.ZipFile.writestr` now respect ``SOURCE_DATE_EPOCH`` that
distributions can set centrally and have build tools consume this in order
to produce reproducible output.
(Contributed by Jiahao Li in :gh:`91279`.)
.. Add improved modules above alphabetically, not here at the end.
@ -1004,7 +1001,6 @@ ast
* :attr:`!ast.Constant.s`
Use :attr:`!ast.Constant.value` instead.
(Contributed by Alex Waygood in :gh:`119562`.)
asyncio
@ -1213,7 +1209,6 @@ urllib
:func:`~urllib.request.urlretrieve`. Customizations to the opener
classes can be replaced by passing customized handlers to
:func:`~urllib.request.build_opener`.
(Contributed by Barney Gale in :gh:`84850`.)
Others
@ -1466,6 +1461,8 @@ Porting to Python 3.14
.. _pythoncapi-compat project: https://github.com/python/pythoncapi-compat/
.. _whatsnew314-c-api-deprecated:
Deprecated
----------
@ -1505,10 +1502,8 @@ Deprecated
The `pythoncapi-compat project`_ can be used to get these new public
functions on Python 3.13 and older.
(Contributed by Victor Stinner in :gh:`128863`.)
.. include:: ../deprecations/c-api-pending-removal-in-3.15.rst
.. include:: ../deprecations/c-api-pending-removal-in-3.18.rst
@ -1516,6 +1511,8 @@ Deprecated
.. include:: ../deprecations/c-api-pending-removal-in-future.rst
.. _whatsnew314-c-api-removed:
Removed
-------

View file

@ -5716,7 +5716,7 @@ Tools/wasm/build_wasi.sh as a reference implementation of the docs.
.. section: Build
Autoconf 2.71 and aclocal 1.16.4 is now required to regenerate
:file:`!configure`.
:file:`configure`.
..

View file

@ -765,7 +765,7 @@ build with LLVM 19.
.. nonce: jko7Fg
.. section: Build
GNU Autoconf 2.72 is now required to generate :file:`!configure`. Patch by
GNU Autoconf 2.72 is now required to generate :file:`configure`. Patch by
Erlend Aasland.
..