-
-
Notifications
You must be signed in to change notification settings - Fork 32k
pathlib.PureWindowsPath doesn't join relative paths correctly when a drive is present #64107
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
Comments
>>> pathlib.PureWindowsPath('C:/a/b').joinpath('D:x/y')
PureWindowsPath('D:/a/b/D:/x/y') See also bpo-19456. |
Here is a patch. |
Here is simplified patch. |
Thanks! Patch looks ok to me. |
Ah, drives should be compared with ignored cases. |
Good point :) |
New changeset 1ba15c3f45fa by Serhiy Storchaka in branch 'default': |
Thank you Antoine for your patch. |
New changeset 0c508d87f80b by Serhiy Storchaka in branch 'default': |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: