Alexander Boyd added the comment: Then perhaps the docstring of relative_to could note this (like relpath does), or a separate method that's explicitly not symlink safe created.
Or better yet, what about a function that does (or at least tries to) give the correct answer in the face of symlinks? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20012> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com