Charles-François Natali added the comment:

> Looking back at this I think a "send_blocksize" argument is necessary after 
> all. shutil.copyfileobj() has it, so is ftplib.FTP.storbinary() and  httplib 
> (issue 13559) which will both be using socket.sendfile() once it gets 
> included.

Those APIs are really poor, please don't cripple sendfile() to mirror them.

Once again, a send_blocksize argument doesn't make sense, you won't
find it anywhere else. All that's needed is start offset and a
size/length argument.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue17552>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to