[issue22302] Windows os.path.isabs UNC path bug

Serhiy Storchaka report at bugs.python.org
Fri Sep 5 19:30:24 CEST 2014


Serhiy Storchaka added the comment:

It looks to me that rather handling of "//server/" is buggy than "//server". "//server" is just the same as "/server" or "///server". But "//server/" looks as an UNC path with empty ("") mount point. This is invalid path and we can't create valid path from this path by adding components. Perhaps PureWindowsPath("//server/") should raise an exception.

----------
nosy: +serhiy.storchaka

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


More information about the Python-bugs-list mailing list