New submission from Giampaolo Rodola' <g.rod...@gmail.com>:
The need for this emerged in: https://bugs.python.org/issue36610#msg343948. We currently use sendfile(2) syscall in high-level shutil.copyfile() on Linux and socket.sendfile() on UNIX. In addition this PR also tests shutil.copyfile() implementation on OSX which takes advantage of fcopyfile(2) syscall. The goal is to make sure "fast-copy" syscalls can handle files > 2G. On my Ubuntu 18.04 with SSD disk this introduces a 5 secs slowdown to the test run. According to: https://github.com/golang/go/issues/13892 ...problems may arise on SunOS, so if a BB will turn red this is expected. ---------- components: Library (Lib) messages: 343951 nosy: giampaolo.rodola, rosslagerwall priority: normal severity: normal status: open title: Add large-file tests for modules using sendfile(2) versions: Python 3.8 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue37096> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com