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

Serhiy Storchaka report at bugs.python.org
Tue Sep 24 14:29:21 EDT 2019


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

Length should be Py_ssize_t. Python does not support creating bytes objects larger than PY_SSIZE_T_MAX.

----------

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


More information about the Python-bugs-list mailing list