This is not available in CPython 2.7 whether from the OS or MacPorts, so I've applied this against the
py3.6 branch. I'm relying on the test suite to ensure correctness.
I checked the manual for
sendfile() on FreeBSD, and the API is the same, so I'm assuming this will work there as well.