[New-bugs-announce] [issue38948] os.module.ismount() returns true in python 3.7.4 and false in 2.7.14

Ankur report at bugs.python.org
Sun Dec 1 05:40:54 EST 2019


New submission from Ankur <jainankur11788 at gmail.com>:

Tested with following lines of code on windows 10:

import os.path
print(os.path.ismount("F:"))

The above statement returns true in python 3.7.4 and false in 2.7.14

Note that F: drive does not have any mount points.
Somehow, python 3.7.4 returns true for all drive letters except C:

----------
components: 2to3 (2.x to 3.x conversion tool)
messages: 357674
nosy: jainankur
priority: normal
severity: normal
status: open
title: os.module.ismount() returns true in python 3.7.4 and false in 2.7.14
versions: Python 3.7

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


More information about the New-bugs-announce mailing list