[issue41448] pathlib behave differ between OS

Ronald Oussoren report at bugs.python.org
Fri Jul 31 06:56:20 EDT 2020


Ronald Oussoren <ronaldoussoren at mac.com> added the comment:

I'm not sure what you try to report.

PurePath(...) returns a PureWindowsPath on Windows and an PurePosixPath on other (unix-y) platforms. This explains the difference in behaviour you're seeing for as_posix().

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41448>
_______________________________________


More information about the Python-bugs-list mailing list