gh-86943: implement pathlib.WindowsPath.is_mount()#31458
Conversation
|
Will review soon |
Sorry, something went wrong.
|
Not sure what's going on with the test failure - looks like |
Sorry, something went wrong.
The new implementation of |
Sorry, something went wrong.
These paths are invalid on posix and windows.
Do you think this needs to be fixed, or is it an improvement? |
Sorry, something went wrong.
I think it's unlikely to come up in real world usage. IMO it's one of the quirks noted in 99fcf15:
|
Sorry, something went wrong.
…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 raisedNotImplementedErrorunconditionally.https://bugs.python.org/issue42777
Automerge-Triggered-By: GH:brettcannon