diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2015-03-19 21:53:20 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2015-03-19 21:53:20 (GMT) |
commit | 66aab0c4b5b6b328aebc115f96275e7dcd114f8b (patch) | |
tree | c607e0019befcb199fb8f916038d01a0b3b9a5f3 /Include/pymem.h | |
parent | 9eb57c5fa50ed2f57d9320bb575371868316b5f2 (diff) | |
download | cpython-66aab0c4b5b6b328aebc115f96275e7dcd114f8b.zip cpython-66aab0c4b5b6b328aebc115f96275e7dcd114f8b.tar.gz cpython-66aab0c4b5b6b328aebc115f96275e7dcd114f8b.tar.bz2 |
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.
Diffstat (limited to 'Include/pymem.h')
0 files changed, 0 insertions, 0 deletions