This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author kulikjak
Recipients jstasiak, kulikjak, wiedi
Date 2020-11-04.20:34:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I did some further digging, and this is indeed not possible on Oracle Solaris (that is, sendfile() cannot write bytes and fail during the same call). We considered this a bug and changed/fixed it several years ago.

Manual page doesn't mention that either:

I am not sure whether Illumos will want to change this as well (probably not since it is mentioned in the man page as expected behavior), but either way, the proposed change doesn't harm Oracle Solaris because 'if (offset != original_offset)' can never be true.
Date User Action Args
2020-11-04 20:34:06kulikjaksetrecipients: + kulikjak, jstasiak, wiedi
2020-11-04 20:34:06kulikjaksetmessageid: <>
2020-11-04 20:34:06kulikjaklinkissue42237 messages
2020-11-04 20:34:06kulikjakcreate