[issue38906] copy2 doesn't copy metadata on Windows and MacOS
Ronald Oussoren
report at bugs.python.org
Fri Dec 6 07:21:25 EST 2019
Ronald Oussoren <ronaldoussoren at 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 <report at bugs.python.org>
<https://bugs.python.org/issue38906>
_______________________________________
More information about the Python-bugs-list
mailing list