From 5707b7355121fc220582c87e3cfd7a7659e80858 Mon Sep 17 00:00:00 2001 From: Adam Turner <9087854+aa-turner@users.noreply.github.com> Date: Wed, 2 Apr 2025 22:53:14 +0100 Subject: [PATCH 1/2] Cover the import time optimisations in What's New --- Doc/whatsnew/3.14.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Doc/whatsnew/3.14.rst b/Doc/whatsnew/3.14.rst index 5c0f2829809e3e..4e7ebc20b3e468 100644 --- a/Doc/whatsnew/3.14.rst +++ b/Doc/whatsnew/3.14.rst @@ -1076,6 +1076,15 @@ zipinfo Optimizations ============= +* The import time for several standard library modules has been improved, + including :mod:`ast`, :mod:`asyncio`, :mod:`base64`, :mod:`cmd`, :mod:`csv`, + :mod:`gettext`, :mod:`importlib.util`, :mod:`locale`, :mod:`mimetypes`, + :mod:`optparse`, :mod:`pickle`, :mod:`pprint`, :mod:`pstats`, :mod:`socket`, + :mod:`subprocess`, :mod:`threading`, :mod:`tomllib`, and :mod:`zipfile`. + + (Contributed by Adam Turner, Bénédikt Tran, Chris Markiewicz, Eli Schwartz, + Hugo van Kemenade, Jelle Zijlstra, and others in :gh:`118761`.) + asyncio ------- From 64071a299213936c94d2942cf7d77b23966335a0 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Mon, 7 Apr 2025 20:22:21 +0300 Subject: [PATCH 2/2] Whitespace MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com> --- Doc/whatsnew/3.14.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/Doc/whatsnew/3.14.rst b/Doc/whatsnew/3.14.rst index 4e7ebc20b3e468..44c04915fb2bfe 100644 --- a/Doc/whatsnew/3.14.rst +++ b/Doc/whatsnew/3.14.rst @@ -1085,6 +1085,7 @@ Optimizations (Contributed by Adam Turner, Bénédikt Tran, Chris Markiewicz, Eli Schwartz, Hugo van Kemenade, Jelle Zijlstra, and others in :gh:`118761`.) + asyncio -------