[issue42458] Pathlib resolve() on Mac Catalina prepends secret path

John Engelke report at bugs.python.org
Wed Nov 25 10:35:01 EST 2020


John Engelke <john.engelke at gmail.com> added the comment:

Thanks @ronaldoussoren. This bug report is flawed for a couple reasons, notwithstanding some assumptions I made incorrectly. (SIP actually makes "/home" a symlink so that resolved correctly.) So I am retracting it as-is because I can't edit the original report. 

The documentation for the behavior of resolve() is talking about using resolve() in the PurePath section. And, resolve() is removing "/../" when the path doesn't really exist locally. I'll open clearer tickets about those when I have a chance.

----------
resolution:  -> not a bug

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


More information about the Python-bugs-list mailing list