[issue26826] Expose new copy_file_range() syscal in os module.

Marcos Dione report at bugs.python.org
Fri Apr 29 10:34:15 EDT 2016


Marcos Dione added the comment:

I fixed most of the type problems, except that I'm not sure how to convert to size_t. Someone suggested to convert with 'n', then check if it's negative and correct. I'll ask the mailing list for better suggestions.

I also noted that running 'hg diff' shows the modifications to 'configure', which I didn't include. This leads me to doubt whether including the modification to 'pyconfig.h' is ok, given that it's generated by 'autoheader'.

----------
Added file: http://bugs.python.org/file42651/copy_file_range.diff

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


More information about the Python-bugs-list mailing list