X Tutup
The Wayback Machine - https://web.archive.org/web/20250916004612/https://github.com/python/cpython/issues/104102
Skip to content

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

@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

      X Tutup