Skip to content

Improve import time of various stdlib modules #154675

Description

@hugovk

Feature or enhancement

Proposal:

Following on from 3.15's #137855, further improvements can be made to import times in 3.16.

And rather than deferring imports, we can use lazy imports.

See also #154638.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    performancePerformance or resource usagestdlibStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions