Serhiy Storchaka added the comment: When followlinks is true, symlinks is not needed.
But I this commit breaks a code like following: def unsymlink(top): for root, dirs, files in os.walk(top): for name in dirs: path = os.path.join(root, name) if os.path.islink(path): target = os.path.join(root, os.readlink(path)) os.unlink(path) shutil.copytree(target, path) for name in files: path = os.path.join(root, name) if os.path.islink(path): target = os.path.join(root, os.readlink(path)) os.unlink(path) shutil.copy2(target, path) ---------- nosy: +serhiy.storchaka resolution: fixed -> status: closed -> open _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue23605> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com