Skip to content

gh-130167: Lazy import re in textwrap #131939

@Marius-Juston

Description

@Marius-Juston

Feature or enhancement

Proposal:

Now that both textwrap.dedent and textwrap.indent no longer use the re library and only the textwrap.TextWrap uses it should there be a lazy import om that class for re? Could speed up the import time

Has this already been discussed elsewhere?

No response given

Links to previous discussion of this feature:

#130167

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions