Ronald Oussoren <ronaldousso...@mac.com> added the comment:
The relevant API on macOS is [f]copyfile(3) which is at the POSIX layer. The copyFile API linked to in msg357395 is a higher-level ObjC/Swift API. Using the copyfile(3) API has another advantage beyond this issue: This API can perform a clone action on APFS when the right flags are used. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue38906> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com