Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
ballpark figure for illustration
  • Loading branch information
AlexWaygood committed May 7, 2024
commit 84d98e67f70ce58a64918abc4cd77bc96883e66c
7 changes: 5 additions & 2 deletions Doc/whatsnew/3.13.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1000,8 +1000,11 @@ Optimizations
(Contributed by Jakub Kulik in :gh:`113117`.)

* Several standard library modules have had their import times significantly
improved. The improved modules include :mod:`typing`, :mod:`importlib.metadata`,
:mod:`email.utils`, :mod:`functools` and :mod:`enum`.
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`.)

Expand Down