Skip to content

Conversation

@miss-islington
Copy link
Contributor

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

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 [email protected]
Co-authored-by: Gregory P. Smith [email protected]

…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 <[email protected]>
Co-authored-by: Gregory P. Smith <[email protected]>
@barneygale barneygale merged commit 305d78b into python:3.12 May 26, 2023
@miss-islington miss-islington deleted the backport-328422c-3.12 branch May 26, 2023 18:42
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