aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Python/pystrcmp.c
diff options
context:
space:
mode:
authorBarney Gale <barney.gale@gmail.com>2023-05-26 19:05:43 +0100
committerGitHub <noreply@github.com>2023-05-26 18:05:43 +0000
commit328422ce6162eb18735a2c0de12f8a696be97d0c (patch)
tree30e21f0cee1c74251f04fd1d9929a7c437d13f67 /Python/pystrcmp.c
parentad0be361c9922a918c7c3eaf83e1d8f2b019279c (diff)
downloadcpython-328422ce6162eb18735a2c0de12f8a696be97d0c.tar.gz
cpython-328422ce6162eb18735a2c0de12f8a696be97d0c.zip
GH-103631: Fix `PurePosixPath(PureWindowsPath(...))` separator handling (GH-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. Co-authored-by: Gregory P. Smith <greg@krypto.org>
Diffstat (limited to 'Python/pystrcmp.c')
0 files changed, 0 insertions, 0 deletions