Message226427
| 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:59 | steve.dower | set | recipients:
+ steve.dower, pitrou, eryksun, akima |
| 2014年09月05日 16:32:59 | steve.dower | set | messageid: <1409934779.24.0.465216104827.issue22302@psf.upfronthosting.co.za> |
| 2014年09月05日 16:32:59 | steve.dower | link | issue22302 messages |
| 2014年09月05日 16:32:58 | steve.dower | create |
|