[issue36488] os.sendfile() on BSD and macOS does not return bytes sent on EINTR

Josh Rosenberg report at bugs.python.org
Mon Apr 1 10:19:09 EDT 2019


Josh Rosenberg <shadowranger+python at gmail.com> added the comment:

Wasn't the point of PEP475 that all EINTR returns would be explicitly handled by retrying rather than forcing the user to handle it? Seems like the correct solution is still to retry, but on OSX/FreeBSD we'd need to update the offset and count arguments to account for the data that has already been sent.

----------
nosy: +josh.r

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36488>
_______________________________________


More information about the Python-bugs-list mailing list