-
-
Notifications
You must be signed in to change notification settings - Fork 30.7k
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
gh-86943: implement pathlib.WindowsPath.is_mount()
#31458
gh-86943: implement pathlib.WindowsPath.is_mount()
#31458
Conversation
Will review soon |
pathlib.WindowsPath.is_mount()
pathlib.WindowsPath.is_mount()
Not sure what's going on with the test failure - looks like |
The new implementation of |
These paths are invalid on posix and windows.
Do you think this needs to be fixed, or is it an improvement? |
I think it's unlikely to come up in real world usage. IMO it's one of the quirks noted in 99fcf15:
|
…31458) Have `pathlib.WindowsPath.is_mount()` call `ntpath.ismount()`. Previously it raised `NotImplementedError` unconditionally. https://bugs.python.org/issue42777
Have
pathlib.WindowsPath.is_mount()
callntpath.ismount()
. Previously it raisedNotImplementedError
unconditionally.https://bugs.python.org/issue42777
Automerge-Triggered-By: GH:brettcannon