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 eryksun
Recipients akima, eryksun, pitrou, serhiy.storchaka, steve.dower
Date 2014-09-05.18:06:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1409940385.2.0.239215600598.issue22302@psf.upfronthosting.co.za>
In-reply-to
Content
Isn't this bug about the "root of a share" case with ntpath.isabs in 3.x and 2.7 (splitdrive was backported)? For example:

    >>> os.path.isabs("//server/share")
    False
    >>> os.path.splitdrive('//server/share') 
    ('//server/share', '')

vs.

    >>> os.path.isabs('//server/share/')             
    True
    >>> os.path.splitdrive('//server/share/')
    ('//server/share', '/')

I think '//server/share' is an absolute path, and pathlib agrees. Network shares do not maintain a current directory the way drives do (i.e. the hidden environment variable trick). There's no such thing as a share-relative path, nor would there be any way to even write such a path, as compared to "C:drive/relative/path".
History
Date User Action Args
2014-09-05 18:06:25eryksunsetrecipients: + eryksun, pitrou, serhiy.storchaka, steve.dower, akima
2014-09-05 18:06:25eryksunsetmessageid: <1409940385.2.0.239215600598.issue22302@psf.upfronthosting.co.za>
2014-09-05 18:06:25eryksunlinkissue22302 messages
2014-09-05 18:06:24eryksuncreate