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: Add a is_mount() to pathlib
Type: enhancement Stage: resolved
Components: Library (Lib) Versions: Python 3.7
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: cooperlees, lukasz.langa
Priority: normal Keywords:

Created on 2017-07-11 02:35 by cooperlees, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 2669 merged cooperlees, 2017-07-11 16:27
PR 2980 merged lukasz.langa, 2017-08-01 23:40
Messages (3)
msg298104 - (view) Author: Cooper Lees (cooperlees) * Date: 2017-07-11 02:35
It would be nice to have pathlib.Path objects to have a ismount() function to return a bool if it is a POSIX mount point, similar to `os.path.ismount(path)`
msg298110 - (view) Author: Cooper Lees (cooperlees) * Date: 2017-07-11 03:28
Mocked up a concept PR. Will try teach myself how to test + see if I need to add Windows support etc.
https://github.com/cooperlees/cpython/commit/master
msg299639 - (view) Author: Łukasz Langa (lukasz.langa) * (Python committer) Date: 2017-08-01 22:35
New changeset 173ff4a58a6b337fe8a0eb44f211f33f278d3d5f by Łukasz Langa (Cooper Lees) in branch 'master':
bpo-30897: Add is_mount() to pathlib.Path (#2669)
https://github.com/python/cpython/commit/173ff4a58a6b337fe8a0eb44f211f33f278d3d5f
History
Date User Action Args
2022-04-11 14:58:48adminsetgithub: 75080
2017-08-01 23:40:25lukasz.langasetpull_requests: + pull_request3022
2017-08-01 22:52:11cooperleessetstatus: open -> closed
resolution: fixed
stage: resolved
2017-08-01 22:35:50lukasz.langasetmessages: + msg299639
2017-07-11 17:13:23lukasz.langasetnosy: + lukasz.langa
2017-07-11 16:27:40cooperleessetpull_requests: + pull_request2735
2017-07-11 03:28:28cooperleessetmessages: + msg298110
2017-07-11 03:16:10cooperleessettitle: Add a ismount() to pathlib -> Add a is_mount() to pathlib
2017-07-11 02:35:10cooperleescreate