Skip to content

Improve import time of various stdlib modules #137855

@ofek

Description

@ofek

Feature or enhancement

Proposal:

Following on from #118761 (comment), further improvements can be made to import times.

Notes

We should backport ensure_lazy_imports tests for the 3.14 improvements, to help guard against regressions.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    performancePerformance or resource usagestdlibPython modules in the Lib dirtype-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions