Skip to content

Conversation

@barneygale
Copy link
Contributor

@barneygalebarneygale commented Feb 21, 2025

Call ReadablePath.info.exists() rather than ReadablePath.exists() when globbing so that we use (or populate) the info cache.

No change to Path.glob(), which uses glob._StringGlobber (hence os.lexists()) rather than glob._PathGlobber.

…globbing Call `ReadablePath.info.exists()` rather than `ReadablePath.exists()` when globbing so that we use (or populate) the `info` cache.
@barneygalebarneygale merged commit 48c84a4 into python:mainFeb 24, 2025
38 checks passed
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@barneygale