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 akima, eryksun, pitrou, steve.dower
Date 2014-09-05.16:32:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1409934779.24.0.465216104827.issue22302@psf.upfronthosting.co.za>
In-reply-to
Content
Antoine almost certainly thought about this with pathlib and may know about the change, or at least have some decent context on it.

I'm more inclined to think that os.path.isabs(r"\\server") should also return False, since it's not a path that can be opened directly unless you add more path before or after it.

Indeed, pathlib seems to support my understanding:

>>> Path('//server').is_absolute()
False
>>> Path('//server/share').is_absolute()
True
>>> Path('//server/share/').is_absolute()
True
>>> Path('//server/share/file').is_absolute()
True

If the regression appeared in 3.4, it should be easy enough to look at what changed.
History
Date User Action Args
2014-09-05 16:32:59steve.dowersetrecipients: + steve.dower, pitrou, eryksun, akima
2014-09-05 16:32:59steve.dowersetmessageid: <1409934779.24.0.465216104827.issue22302@psf.upfronthosting.co.za>
2014-09-05 16:32:59steve.dowerlinkissue22302 messages
2014-09-05 16:32:58steve.dowercreate