Skip to content

Commit

Permalink
pythongh-123299: Copyedit "What's New in Python 3.14" (python#129970)
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk authored Feb 10, 2025
1 parent 516c70d commit 1feaecc
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 19 deletions.
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 @@ -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`.)

Expand Down Expand Up @@ -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
-------

Expand All @@ -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
--
Expand Down Expand Up @@ -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`.)


Expand Down Expand Up @@ -670,7 +670,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 @@ -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.
Expand Down Expand Up @@ -1004,7 +1001,6 @@ ast
* :attr:`!ast.Constant.s`

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

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

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


.. _whatsnew314-c-api-deprecated:

Deprecated
----------

Expand Down Expand Up @@ -1505,17 +1502,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

0 comments on commit 1feaecc

Please sign in to comment.