GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Optimize `pathlib.Path.glob()` handling of `../` pattern segments · Issue #104102 · python/cpython

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

New issue
Copy link
New issue
Copy link
Closed
Closed
Optimize pathlib.Path.glob() handling of ../ pattern segments#104102
Copy link
Labels
3.12only security fixesonly security fixesperformancePerformance or resource usagePerformance or resource usagetopic-pathlibtype-featureA feature request or enhancementA feature request or enhancement

Description

@barneygale
barneygale
opened on May 2, 2023
Issue body actions

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

  • GH-104102: Optimize pathlib.Path.glob() handling of ../ pattern segments #104103

Activity

  1. barneygale
    added
    type-featureA feature request or enhancementA feature request or enhancement
    performancePerformance or resource usagePerformance or resource usage
    3.12only security fixesonly security fixes
    topic-pathlib
    on May 2, 2023
  2. barneygale
    added 2 commits that reference this issue on May 2, 2023

    Merge branch 'main' into pythongh-104102-optimize-glob-parent

    581e8c5

    GH-104102: Optimize `pathlib.Path.glob()` handling of `../` pattern s…

    65a49c6
  3. barneygale
    closed this as completedon May 2, 2023
  4. carljm
    added a commit that references this issue on May 2, 2023

    Merge branch 'main' into cached_property_docs

    b9c39e3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.