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

2019-04-01 Thread Josh Rosenberg


Josh Rosenberg  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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2019-03-30 Thread Giampaolo Rodola'


Change by Giampaolo Rodola' :


--
title: os.sendfile() on BSD OSs and macOS does not return bytes sent on EINTR 
-> os.sendfile() on BSD and macOS does not return bytes sent on EINTR

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com