]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-36610: shutil.copyfile(): use sendfile() on Linux only (GH-13675)
authorGiampaolo Rodola <g.rodola@gmail.com>
Thu, 30 May 2019 06:05:41 +0000 (14:05 +0800)
committerGitHub <noreply@github.com>
Thu, 30 May 2019 06:05:41 +0000 (14:05 +0800)
commit413d955f8ec88a7183f91d7ad8b0ff7def803de3
tree5e82b37895fa363bf445df67f61a56ff5553de61
parenta16387ab2d85f19665920bb6ff91a7e57f59dd2a
bpo-36610: shutil.copyfile(): use sendfile() on Linux only (GH-13675)

...and avoid using it on Solaris as it can raise EINVAL if offset is equal or bigger than the size of the file
Doc/library/shutil.rst
Doc/whatsnew/3.8.rst
Lib/shutil.py
Lib/test/test_shutil.py
Misc/NEWS.d/3.8.0a1.rst