gh-109653: What's new: Note improved import times for several stdlib modules in Python 3.13 (#118697)

This commit is contained in:
Alex Waygood 2024-05-07 12:34:19 +01:00 committed by GitHub
parent 0f8a07d158
commit 44a9f3db2b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 9 additions and 0 deletions

View File

@ -999,6 +999,15 @@ Optimizations
section above for details.
(Contributed by Jakub Kulik in :gh:`113117`.)
* Several standard library modules have had their import times significantly
improved. For example, the import time of the :mod:`typing` module has been
reduced by around a third by removing dependencies on :mod:`re` and
:mod:`contextlib`. Other modules to enjoy import-time speedups include
:mod:`importlib.metadata`, :mod:`threading`, :mod:`enum`, :mod:`functools`
and :mod:`email.utils`.
(Contributed by Alex Waygood, Shantanu Jain, Adam Turner, Daniel Hollas and
others in :gh:`109653`.)
.. _whatsnew313-jit-compiler:
Experimental JIT Compiler