[New-bugs-announce] [issue31047] Windows: os.path.isabs(os.path.abspath(" ")) == False

Christoph Reiter report at bugs.python.org
Wed Jul 26 12:47:29 EDT 2017


New submission from Christoph Reiter:

On Windows os.path.abspath(" ") == " "

While that's not a valid Windows path, similar invalid paths like "" or "?" etc all produce an absolute path.

Tested on 2.7 and 3.6

----------
components: Windows
messages: 299253
nosy: lazka, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: Windows: os.path.isabs(os.path.abspath(" ")) == False
versions: Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue31047>
_______________________________________


More information about the New-bugs-announce mailing list