Uh oh!
There was an error while loading. Please reload this page.
gh-86943: implement pathlib.WindowsPath.is_mount() - #31458
Conversation
Uh oh!
There was an error while loading. Please reload this page.
zmievsa
commented
May 19, 2022
Will review soon |
barneygale
commented
May 20, 2022
pathlib.WindowsPath.is_mount()pathlib.WindowsPath.is_mount()Not sure what's going on with the test failure - looks like |
eryksun
commented
Jul 30, 2022
The new implementation of |
These paths are invalid on posix and windows.
eryksun
commented
Jul 31, 2022
Do you think this needs to be fixed, or is it an improvement? |
barneygale
commented
Jul 31, 2022
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 raisedNotImplementedErrorunconditionally.https://bugs.python.org/issue42777
Automerge-Triggered-By: GH:brettcannon