FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.12] GH-104947: Make pathlib.PureWindowsPath comparisons consistent across platforms (GH-104948) by miss-islington · Pull Request #104990 · python/cpython · GitHub

/ cpython Public

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

Merged
barneygale merged 1 commit into
python:3.12from
miss-islington:backport-ad0be36-3.12
May 26, 2023
Merged

[3.12] GH-104947: Make pathlib.PureWindowsPath comparisons consistent across platforms (GH-104948)#104990
barneygale merged 1 commit into
python:3.12from
miss-islington:backport-ad0be36-3.12

Conversation

miss-islington commented May 26, 2023
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Contributor

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 merged commit eca102d into python:3.12 May 26, 2023
miss-islington deleted the backport-ad0be36-3.12 branch May 26, 2023 18:33
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

3 participants


Back | FazBrowse Home | New Git URL