Skip to content

GH-104114: Fix pathlib.WindowsPath.glob() use of literal pattern segment case - #104116

Merged
barneygale merged 2 commits into
python:mainfrom
barneygale:gh-104114-windowspath-literal-pattern-case
May 3, 2023
Merged

barneygale merged 2 commits into
python:mainfrom
barneygale:gh-104114-windowspath-literal-pattern-case

Conversation

@barneygale

@barneygale barneygale commented May 3, 2023 •

Copy link
Copy Markdown
Contributor

We now use _WildcardSelector to evaluate literal pattern segments, which allows us to retrieve the real filesystem case.

This change is necessary in order to implement a case_sensitive argument (see #81079) and a follow_symlinks argument (see #77609).

…ern segment case

We now use `_WildcardSelector` to evaluate literal pattern segments, which
allows us to retrieve the real filesystem case.

This change is necessary in order to implement a *case_sensitive* argument
(see pythonGH-81079) and a *follow_symlinks* argument (see pythonGH-77609).
@barneygale

Copy link
Copy Markdown
Contributor Author

Thanks Steve!

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

3 participants