bpo-38319: Fix shutil._fastcopy_sendfile(): set sendfile() max block size (GH-16491)

This commit is contained in:
Giampaolo Rodola 2019-10-01 11:40:54 +08:00 committed by GitHub
parent cf57cabef8
commit 94e165096f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 5 deletions

View file

@ -0,0 +1,2 @@
sendfile() used in socket and shutil modules was raising OverflowError for
files >= 2GiB on 32-bit architectures. (patch by Giampaolo Rodola)