Eryk Sun <[email protected]> added the comment:
I'd prefer to leave ".." in the path, at least with PosixPath. (It doesn't matter with WindowsPath.) The "there" component may be a symlink that's currently inaccessible. That said, Python's os.path.realpath() has a long history of naively resolving ".." components in the remainder. ---------- nosy: +eryksun _______________________________________ Python tracker <[email protected]> <https://bugs.python.org/issue42464> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
