[issue15078] Change os.sendfile so its arguments are stable

Serhiy Storchaka report at bugs.python.org
Fri Jun 15 16:03:11 CEST 2012


Serhiy Storchaka <storchaka at gmail.com> added the comment:

I believe, that instead of a integer flags will be better and more portable to use boolean parameters (diskio=True, wait=True, sync=False). All additional parameters should be keyword-only.

os.sendfile(out, in, offset, nbytes, *, headers=None, trailers=None, diskio=True, wait=True, sync=False)

----------
nosy: +storchaka

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15078>
_______________________________________


More information about the Python-bugs-list mailing list