Martin Panter <vadmium...@gmail.com> added the comment: This looks like it may be covered by Issue 31940, about the “shutil.copystat” API. See Anthony’s initial proposal at <https://bugs.python.org/issue31940#msg305528>.
Max: I think you need the “else” branch to reraise the exception if “errno” doesn’t match. Perhaps a test case would have picked this up. ---------- nosy: +martin.panter superseder: -> copystat on symlinks fails for alpine -- faulty lchmod implementation? _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue28627> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com