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

[3.12] GH-103631: Fix `PurePosixPath(PureWindowsPath(...))` separator handling (GH-104949) by miss-islington · Pull Request #104991 · python/cpython · GitHub

/ cpython Public

[3.12] GH-103631: Fix PurePosixPath(PureWindowsPath(...)) separator handling (GH-104949) - #104991

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

[3.12] GH-103631: Fix PurePosixPath(PureWindowsPath(...)) separator handling (GH-104949)#104991
barneygale merged 1 commit into
python:3.12from
miss-islington:backport-328422c-3.12

Conversation

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

Copy link
Copy Markdown
Contributor

For backwards compatibility, accept backslashes as path separators in
PurePosixPath if an instance of PureWindowsPath is supplied.
This restores behaviour from Python 3.11.

(cherry picked from commit 328422c)

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

…handling (pythonGH-104949)

For backwards compatibility, accept backslashes as path separators in
`PurePosixPath` if an instance of `PureWindowsPath` is supplied.
This restores behaviour from Python 3.11.

(cherry picked from commit 328422c)

Co-authored-by: Barney Gale <barney.gale@gmail.com>
Co-authored-by: Gregory P. Smith <greg@krypto.org>
barneygale merged commit 305d78b into python:3.12 May 26, 2023
miss-islington deleted the backport-328422c-3.12 branch May 26, 2023 18:42
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