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.

Author steve.dower
Recipients eryksun, paul.moore, steve.dower, tim.golden, zach.ware
Date 2019-08-15.21:48:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
So for an actual non-root mount point, ntpath.ismount() returns True and with IO_REPARSE_TAG_MOUNT_POINT included ntpath.islink() also returns True. nt.readlink() returns the "\\?\Volume{GUID}\" path

Root mount points ("C:\\", etc.) do not return true for islink()

os.rename() and os.unlink() work on non-root mount points, but not on root mount points. So there is at least some value in being able to detect "this is a root mount point that acts like a file".

I'm not seeing why having both islink() and ismount() be true in this case is a problem.
Date User Action Args
2019-08-15 21:48:34steve.dowersetrecipients: + steve.dower, paul.moore, tim.golden, zach.ware, eryksun
2019-08-15 21:48:34steve.dowersetmessageid: <>
2019-08-15 21:48:34steve.dowerlinkissue37834 messages
2019-08-15 21:48:34steve.dowercreate