[issue26826] Expose new copy_file_range() syscall in os module.

Giampaolo Rodola' report at bugs.python.org
Tue Jun 4 12:49:36 EDT 2019


Giampaolo Rodola' <g.rodola at gmail.com> added the comment:

Actually "man copy_file_range" claims it can do server-side copy, meaning no network traffic between client and server if *src* and *dst* live on the same network fs. So I agree copy_file_range() should be preferred over sendfile() after all. =)
I have a wrapper for copy_file_range() similar to what I did in shutil in issue33671 which I can easily integrate, but I wanted to land this one first:
https://bugs.python.org/issue37096
Also, I suppose we cannot land this in time for 3.8?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue26826>
_______________________________________


More information about the Python-bugs-list mailing list