diff options
author | Alex Waygood <Alex.Waygood@Gmail.com> | 2024-05-07 11:34:19 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-07 11:34:19 (GMT) |
commit | 44a9f3db2b40ba41999002799a74e6b6f2a3a50a (patch) | |
tree | 5435a9aef1a9c5499342c6846f4168b5a72a86aa /Doc/whatsnew | |
parent | 0f8a07d158ba0a0dfd3584d8195f30dd16738555 (diff) | |
download | cpython-44a9f3db2b40ba41999002799a74e6b6f2a3a50a.zip cpython-44a9f3db2b40ba41999002799a74e6b6f2a3a50a.tar.gz cpython-44a9f3db2b40ba41999002799a74e6b6f2a3a50a.tar.bz2 |
gh-109653: What's new: Note improved import times for several stdlib modules in Python 3.13 (#118697)
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r-- | Doc/whatsnew/3.13.rst | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.13.rst b/Doc/whatsnew/3.13.rst index 5b5155b..d875527 100644 --- a/Doc/whatsnew/3.13.rst +++ b/Doc/whatsnew/3.13.rst @@ -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 |