[New-bugs-announce] [issue22302] Windows os.path.isabs UNC path bug

Akima report at bugs.python.org
Fri Aug 29 23:58:22 CEST 2014

New submission from Akima:

A UNC path pointing to the root of a share is not being recognised as an absolute path when it should be.

See this interpreter session.

PythonWin 3.3.5 (v3.3.5:62cf4e77f785, Mar  9 2014, 10:35:05) [MSC v.1600 64 bit (AMD64)] on win32.
Portions Copyright 1994-2008 Mark Hammond - see 'Help/About PythonWin' for further copyright information.
>>> import os.path
>>> os.path.isabs(r"\\server")
>>> os.path.isabs(r"\\server\share")
>>> os.path.isabs(r"\\server\share\folder")
>>> os.path.isabs(r"\\server\share\folder\folder")

components: Library (Lib), Windows
messages: 226091
nosy: akima
priority: normal
severity: normal
status: open
title: Windows os.path.isabs UNC path bug
versions: Python 3.3

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list