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? _______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com