-
-
Notifications
You must be signed in to change notification settings - Fork 34.6k
Improve import time of various stdlib modules #137855
Copy link
Copy link
Open
Labels
performancePerformance or resource usagePerformance or resource usagestdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancementA feature request or enhancement
Metadata
Metadata
Assignees
Labels
performancePerformance or resource usagePerformance or resource usagestdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancementA feature request or enhancement
Feature or enhancement
Proposal:
Following on from #118761 (comment), further improvements can be made to import times.
Notes
We should backport
ensure_lazy_importstests for the 3.14 improvements, to help guard against regressions.Linked PRs
sqlite3#131796email.quoprimimeremovingreimport #132046inspectmodule in dataclasses #144387pathlib#146327reandcopymodules #148379