Martin Wagner added the comment: i have a use-case that requires a behavior that is referenced above as --canonicalize-missing. essentially i need to get rid of relative parts in a path representation regardless the actual filesystem.
my conclusion was that PurePath could provide that with a 'normpath' method, reflecting os.path.normpath's functionality. (that's from a user perspective, i haven't looked at any implementation details of the pathlib module.) ---------- nosy: +mwagner _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19717> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com