SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

72156 0 81 Python

Issue #23708: Add _Py_read() and _Py_write() functions to factorize code handle

EINTR error and special cases for Windows.

These functions now truncate the length to PY_SSIZE_T_MAX to have a portable
and reliable behaviour. For example, read() result is undefined if counter is
greater than PY_SSIZE_T_MAX on Linux.
V
Victor Stinner committed
66aab0c4b5b6b328aebc115f96275e7dcd114f8b
Parent: 9eb57c5