[Python-Dev] stuck issue 26826
Random832
random832 at fastmail.com
Wed Aug 3 17:02:17 EDT 2016
On Wed, Aug 3, 2016, at 16:32, Marcos Dione wrote:
> (it needs to check the availability of the function and the suitability
> for the parameters given; copy_file_range() only works on files on the
> same filesystem[1]). Hmm...
What is the benefit to using copy_file_range over sendfile in this
scenario? Or does sendfile not work with regular files on Linux?
Maybe os.sendfile should use copy_file_range if available/applicable,
and the shutils functions can use it?
More information about the Python-Dev
mailing list