Serhiy Storchaka added the comment: Previous patches contain redundant code, are not protected from all symlink loops (link -> link/x; dir/link -> ../dir/link) and when a loop is detected the returned result differs from the current one.
The proposed patch solves this issue and some others. Added many new tests. The test for this issue was simplified: dir/self -> ../dir dir/link -> self/self/self resolve dir/link ---------- keywords: -easy nosy: +serhiy.storchaka versions: +Python 3.4 Added file: http://bugs.python.org/file27698/posix_realpath.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue6975> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com