This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: WindowsPath does not implement is_mount but ntpath implements and offers a ismount method
Type: Stage: patch review
Components: Versions:
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: barneygale, db
Priority: normal Keywords: patch

Created on 2020-12-29 04:17 by db, last changed 2022-04-11 14:59 by admin.

Pull Requests
URL Status Linked Edit
PR 31458 open barneygale, 2022-02-21 01:48
Messages (1)
msg383955 - (view) Author: David (db) Date: 2020-12-29 04:17
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
History
Date User Action Args
2022-04-11 14:59:39adminsetgithub: 86943
2022-02-21 01:48:37barneygalesetkeywords: + patch
nosy: + barneygale

pull_requests: + pull_request29587
stage: patch review
2020-12-29 04:17:59dbcreate