[issue17552] socket.sendfile()
Antoine Pitrou
report at bugs.python.org
Fri Apr 25 03:10:54 CEST 2014
Antoine Pitrou added the comment:
> I'm -1 about adding "count" *and* "blocksize" parameters. "blocksize" > alone is good enough IMO and considering what I've just described it
> is a better name than "count".
I'm confused. Why is "blocksize" necessary at all?
> using os.path.getsize(file.name) looks risky to me
Why not fstat(fd) ?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17552>
_______________________________________
More information about the Python-bugs-list
mailing list