Message233308
>>> 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. |
|
Date |
User |
Action |
Args |
2015-01-02 09:40:25 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, pitrou |
2015-01-02 09:40:25 | serhiy.storchaka | set | messageid: <1420191625.18.0.999730856462.issue23146@psf.upfronthosting.co.za> |
2015-01-02 09:40:25 | serhiy.storchaka | link | issue23146 messages |
2015-01-02 09:40:24 | serhiy.storchaka | create | |
|