[issue38265] Update os.pread to accept the length type as size_t

STINNER Victor report at bugs.python.org
Wed Sep 25 06:33:24 EDT 2019


STINNER Victor <vstinner at python.org> added the comment:

Python 3.7 and 3.8 also have os.pread(). Why not also fixing these branches?

--

os.pwrite() uses Py_buffer for its argument and supports size_t size.

os.preadv() and os.pwritev() use internally the C structure "struct iovec" which uses size_t for its iov_len field.

----------
resolution: fixed -> 
status: closed -> open

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


More information about the Python-bugs-list mailing list