bpo-37096: Add large-file tests for modules using sendfile(2) by giampaolo · Pull Request #13676 · python/cpython (original) (raw)

Traceback (most recent call last): File "/ssd/buildbot/buildarea/3.x.gps-ubuntu-exynos5-armv7l/build/Lib/test/test_largefile.py", line 207, in test_it client.sendfile(f) File "/ssd/buildbot/buildarea/3.x.gps-ubuntu-exynos5-armv7l/build/Lib/socket.py", line 483, in sendfile return self._sendfile_use_sendfile(file, offset, count) File "/ssd/buildbot/buildarea/3.x.gps-ubuntu-exynos5-armv7l/build/Lib/socket.py", line 386, in _sendfile_use_sendfile sent = os_sendfile(sockno, fileno, offset, blocksize) OverflowError: Python int too large to convert to C ssize_t

Traceback (most recent call last): File "/ssd/buildbot/buildarea/3.x.gps-ubuntu-exynos5-armv7l/build/Lib/test/test_largefile.py", line 160, in test_it shutil.copyfile(TESTFN, TESTFN2) File "/ssd/buildbot/buildarea/3.x.gps-ubuntu-exynos5-armv7l/build/Lib/shutil.py", line 266, in copyfile _fastcopy_sendfile(fsrc, fdst) File "/ssd/buildbot/buildarea/3.x.gps-ubuntu-exynos5-armv7l/build/Lib/shutil.py", line 145, in _fastcopy_sendfile sent = os.sendfile(outfd, infd, offset, blocksize) OverflowError: Python int too large to convert to C ssize_t