[New-bugs-announce] [issue42777] WindowsPath does not implement is_mount but ntpath implements and offers a ismount method

David report at bugs.python.org
Mon Dec 28 23:17:59 EST 2020


New submission from David <db+pythonbugs at d1b.org>:

pathlib.WindowsPath[0] does not implement is_mount but ntpath implements and offers a ismount[1] method. Perhaps WindowsPath is_mount can make use of ntpath.ismount ?



[0] https://github.com/python/cpython/blob/master/Lib/pathlib.py#L1578
[1] https://github.com/python/cpython/blob/master/Lib/ntpath.py#L248

----------
messages: 383955
nosy: db
priority: normal
severity: normal
status: open
title: WindowsPath does not implement is_mount but ntpath implements and offers a ismount method

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42777>
_______________________________________


More information about the New-bugs-announce mailing list