[issue32434] pathlib.WindowsPath.reslove(strict=False) returns absoulte path only if at least one component exists
Eryk Sun
report at bugs.python.org
Mon Mar 15 22:27:08 EDT 2021
Eryk Sun <eryksun at gmail.com> added the comment:
bpo-38671 has PR 17716 pending approval, which addresses the problem in msg309102 by ensuring that a non-strict resolve begins by getting the absolute path via nt._getfullpathname().
----------
resolution: -> duplicate
stage: needs patch -> resolved
status: open -> closed
superseder: -> pathlib.Path.resolve(strict=False) returns relative path on Windows if the entry does not exist
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32434>
_______________________________________
More information about the Python-bugs-list
mailing list