curved-manchester-66006
10/21/2025, 1:52 AMPath.copy function tries fcntl.FICLONE, then a mac specific syscall, then copy_file_range, then sendfile, then falls back <https://github.com/python/cpython/blob/v3.14.0/Lib/pathlib/_os.py#L126>.
But shutil.copyfile does a mac specific syscall, then copy_file_range, then sendfile, some windows thing, and then falls back <https://github.com/python/cpython/blob/v3.14.0/Lib/shutil.py#L315>proud-dentist-22844
10/21/2025, 4:52 PM