◐ Shell
clean mode source ↗

GH-104114: Fix `pathlib.WindowsPath.glob()` use of literal pattern segment case by barneygale · Pull Request #104116 · python/cpython

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@barneygale

@barneygale barneygale commented

May 3, 2023

edited by bedevere-bot

Loading

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

Reviewers

@zooba zooba zooba approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@barneygale @zooba @bedevere-bot