Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Feb 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Doc/whatsnew/3.12.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
29 changes: 13 additions & 16 deletions Doc/whatsnew/3.14.rst
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,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`.)

Expand Down Expand Up @@ -480,6 +480,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
-------

Expand All @@ -495,13 +503,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
--
Expand Down Expand Up @@ -630,7 +631,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`.)


Expand Down Expand Up @@ -669,7 +669,6 @@ platform
--------

* Add :func:`platform.invalidate_caches` to invalidate the cached results.

(Contributed by Bénédikt Tran in :gh:`122549`.)


Expand Down Expand Up @@ -808,13 +807,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.
Expand Down Expand Up @@ -1003,7 +1000,6 @@ ast
* :attr:`!ast.Constant.s`

Use :attr:`!ast.Constant.value` instead.

(Contributed by Alex Waygood in :gh:`119562`.)

asyncio
Expand Down Expand Up @@ -1212,7 +1208,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
Expand Down Expand Up @@ -1465,6 +1460,8 @@ Porting to Python 3.14
.. _pythoncapi-compat project: https://github.com/python/pythoncapi-compat/


.. _whatsnew314-c-api-deprecated:

Deprecated
----------

Expand Down Expand Up @@ -1504,17 +1501,17 @@ 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

.. include:: ../deprecations/c-api-pending-removal-in-future.rst


.. _whatsnew314-c-api-removed:

Removed
-------

Expand Down
2 changes: 1 addition & 1 deletion Misc/NEWS.d/3.13.0a1.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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`.

..

Expand Down
2 changes: 1 addition & 1 deletion Misc/NEWS.d/3.14.0a4.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.

..
Expand Down
Loading