Skip to content

Optimize pathlib.Path.glob() handling of ../ pattern segments #104102

Closed
@barneygale

Description

@barneygale

These segments do not require a stat() call, as the selector's _select_from() method is called after we've established that the parent is a directory.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.12only security fixesperformancePerformance or resource usagetopic-pathlibtype-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions