[issue41625] Add splice() to the os module

Serhiy Storchaka report at bugs.python.org
Tue Aug 25 03:17:35 EDT 2020


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

The API of splice() looks complicated. How would you use it in Python?

Are off_in and off_out adjusted as in copy_file_range() and sendfile()? It is not clear from the man page. If they are, how would you return updated values?

Are you going to add vmsplice() and tee() too? Since it is Linux-specific API, would not be better to add a purposed module linux?

----------
nosy: +serhiy.storchaka

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41625>
_______________________________________


More information about the Python-bugs-list mailing list