From 35527af02bc8d97438e4a4f81285e9e8207f96be Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Tue, 14 Jan 2025 19:20:41 +0200 Subject: [PATCH 1/7] Fix Sphinx reference --- Doc/whatsnew/3.12.rst | 2 +- Misc/NEWS.d/3.13.0a1.rst | 2 +- Misc/NEWS.d/3.14.0a4.rst | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Doc/whatsnew/3.12.rst b/Doc/whatsnew/3.12.rst index 994ccc708e26f2..084512e8e94759 100644 --- a/Doc/whatsnew/3.12.rst +++ b/Doc/whatsnew/3.12.rst @@ -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. diff --git a/Misc/NEWS.d/3.13.0a1.rst b/Misc/NEWS.d/3.13.0a1.rst index c32c9a537d7b53..91e9fee7e37437 100644 --- a/Misc/NEWS.d/3.13.0a1.rst +++ b/Misc/NEWS.d/3.13.0a1.rst @@ -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`. .. diff --git a/Misc/NEWS.d/3.14.0a4.rst b/Misc/NEWS.d/3.14.0a4.rst index 1e08b36020386c..0937a0c6125e0a 100644 --- a/Misc/NEWS.d/3.14.0a4.rst +++ b/Misc/NEWS.d/3.14.0a4.rst @@ -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. .. From ef05680fa33a269baa8ca08da60db3c5c7160fcc Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Mon, 10 Feb 2025 15:52:32 +0200 Subject: [PATCH 2/7] Sort alphabetically --- Doc/whatsnew/3.14.rst | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/Doc/whatsnew/3.14.rst b/Doc/whatsnew/3.14.rst index f8df4c52a36147..464d9bada68756 100644 --- a/Doc/whatsnew/3.14.rst +++ b/Doc/whatsnew/3.14.rst @@ -480,6 +480,14 @@ http (Contributed by Yorik Hansen in :gh:`123430`.) +imaplib +------- + +* Add :meth:`IMAP4.idle() `, implementing the IMAP4 + ``IDLE`` command as defined in :rfc:`2177`. + (Contributed by Forest in :gh:`55454`.) + + inspect ------- @@ -495,13 +503,6 @@ inspect :term:`package` or not. (Contributed by Zhikang Yan in :gh:`125634`.) -imaplib -------- - -* Add :meth:`IMAP4.idle() `, implementing the IMAP4 - ``IDLE`` command as defined in :rfc:`2177`. - (Contributed by Forest in :gh:`55454`.) - io -- From 6620d1cae047ae0bf50e0a8466d8ba70e389d983 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Mon, 10 Feb 2025 15:57:39 +0200 Subject: [PATCH 3/7] Add refernces for C API deprecated and removed --- Doc/whatsnew/3.14.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Doc/whatsnew/3.14.rst b/Doc/whatsnew/3.14.rst index 464d9bada68756..ed6b4017b0b3ac 100644 --- a/Doc/whatsnew/3.14.rst +++ b/Doc/whatsnew/3.14.rst @@ -1466,6 +1466,8 @@ Porting to Python 3.14 .. _pythoncapi-compat project: https://github.com/python/pythoncapi-compat/ +.. _C API deprecated: + Deprecated ---------- @@ -1516,6 +1518,8 @@ Deprecated .. include:: ../deprecations/c-api-pending-removal-in-future.rst +.. _C API removed: + Removed ------- From 0210cbac64babb67fc2c07527a2feb22e5594817 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Mon, 10 Feb 2025 16:07:36 +0200 Subject: [PATCH 4/7] Consistent formatting --- Doc/whatsnew/3.14.rst | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Doc/whatsnew/3.14.rst b/Doc/whatsnew/3.14.rst index ed6b4017b0b3ac..7ea48ffff39d4c 100644 --- a/Doc/whatsnew/3.14.rst +++ b/Doc/whatsnew/3.14.rst @@ -631,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`.) @@ -670,7 +669,6 @@ platform -------- * Add :func:`platform.invalidate_caches` to invalidate the cached results. - (Contributed by Bénédikt Tran in :gh:`122549`.) @@ -809,13 +807,11 @@ zipinfo * Added :func:`ZipInfo._for_archive ` to resolve suitable defaults for a :class:`~zipfile.ZipInfo` object as used by :func:`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 +1000,6 @@ ast * :attr:`!ast.Constant.s` Use :attr:`!ast.Constant.value` instead. - (Contributed by Alex Waygood in :gh:`119562`.) asyncio @@ -1213,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 @@ -1507,10 +1501,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 From 2845593638fc19f378ab2296ba9d086fadef21f4 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Mon, 10 Feb 2025 16:12:56 +0200 Subject: [PATCH 5/7] Fix typo --- Doc/whatsnew/3.14.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/whatsnew/3.14.rst b/Doc/whatsnew/3.14.rst index 7ea48ffff39d4c..407893700b9ab8 100644 --- a/Doc/whatsnew/3.14.rst +++ b/Doc/whatsnew/3.14.rst @@ -366,7 +366,7 @@ ctypes * The layout of :ref:`bit fields ` 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`.) From 550ddddf9fce2ed4e8af91f9aeaa38e90e46091c Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Mon, 10 Feb 2025 21:11:26 +0200 Subject: [PATCH 6/7] Apply suggestions from code review --- Doc/whatsnew/3.14.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/whatsnew/3.14.rst b/Doc/whatsnew/3.14.rst index 407893700b9ab8..591367fa51686e 100644 --- a/Doc/whatsnew/3.14.rst +++ b/Doc/whatsnew/3.14.rst @@ -1460,7 +1460,7 @@ Porting to Python 3.14 .. _pythoncapi-compat project: https://github.com/python/pythoncapi-compat/ -.. _C API deprecated: +.. _whatsnew314-c-api-deprecated: Deprecated ---------- @@ -1510,7 +1510,7 @@ Deprecated .. include:: ../deprecations/c-api-pending-removal-in-future.rst -.. _C API removed: +.. _whatsnew314-c-api-removed: Removed ------- From 367874193d6871b21f911e2a71e9a69808bc3247 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Mon, 10 Feb 2025 21:13:02 +0200 Subject: [PATCH 7/7] Update Doc/whatsnew/3.14.rst