:confused: In Python 3.14.0, if you use the new `P...
# random
c
😕 In Python 3.14.0, if you use the new
Path.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>
p
Hooray for inconsistent behavior 🤦‍♂️