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 serhiy.storchaka
Recipients pitrou, serhiy.storchaka
Date 2015-01-02.09:40:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1420191625.18.0.999730856462.issue23146@psf.upfronthosting.co.za>
In-reply-to
Content
>>> pathlib.PureWindowsPath('c:/a/b', '/x/y')
PureWindowsPath('c:/x/y')
>>> pathlib.PureWindowsPath('//?/c:/a/b', '/x/y')
PureWindowsPath('/x/y')
>>> pathlib.PureWindowsPath(r'\\?\c:\a\b', '/x/y')
PureWindowsPath('//?/c:/x/y')

I suppose this is because in parse_parts() altsep is replaced with sep before calling self.splitroot() in main loop but not in other loop (if drv or root). Line 76.
History
Date User Action Args
2015-01-02 09:40:25serhiy.storchakasetrecipients: + serhiy.storchaka, pitrou
2015-01-02 09:40:25serhiy.storchakasetmessageid: <1420191625.18.0.999730856462.issue23146@psf.upfronthosting.co.za>
2015-01-02 09:40:25serhiy.storchakalinkissue23146 messages
2015-01-02 09:40:24serhiy.storchakacreate