Message374639
PureWindowsPath does not know about POSIX paths, it supports the two styles of directory separator that are valid on Windows: '/' and '\'.
PurePosixPath only supports the single stile of directory separator valid on POSIX systems: '/'.
On a Posix system backslash is a valid character in a file name and is NOT a directory separator.
The behaviour of Path.resolve() on Windows may or may not be a bug, the documentation is not quite clear. Personally I'd lean toward saying this is a bug, but I defer to a pathlib expert. Note that path.resolve(strict=True) should raise an error on both platforms when the path does not exists. |
|
Date |
User |
Action |
Args |
2020-07-31 12:06:15 | ronaldoussoren | set | recipients:
+ ronaldoussoren, paul.moore, tim.golden, ned.deily, zach.ware, koobs, steve.dower, Mond Wan |
2020-07-31 12:06:15 | ronaldoussoren | set | messageid: <1596197175.4.0.649140408471.issue41448@roundup.psfhosted.org> |
2020-07-31 12:06:15 | ronaldoussoren | link | issue41448 messages |
2020-07-31 12:06:15 | ronaldoussoren | create | |
|