Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.12] GH-104947: Make pathlib.PureWindowsPath comparisons consistent across platforms (GH-104948) #104990

Merged
merged 1 commit into from
May 26, 2023

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented May 26, 2023

Use str.lower() rather than ntpath.normcase() to normalize case of
Windows paths. This restores behaviour from Python 3.11.

(cherry picked from commit ad0be36)

Co-authored-by: Barney Gale barney.gale@gmail.com
Co-authored-by: Gregory P. Smith greg@krypto.org

…across platforms (pythonGH-104948)

Use `str.lower()` rather than `ntpath.normcase()` to normalize case of
Windows paths. This restores behaviour from Python 3.11.

(cherry picked from commit ad0be36)

Co-authored-by: Barney Gale <barney.gale@gmail.com>
Co-authored-by: Gregory P. Smith <greg@krypto.org>
@barneygale barneygale merged commit eca102d into python:3.12 May 26, 2023
24 of 25 checks passed
@miss-islington miss-islington deleted the backport-ad0be36-3.12 branch May 26, 2023 18:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants