Message233308
| 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: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 |
|