STINNER Victor added the comment: I found a way to get a list of functions which can fail with EINTR: search for TEMP_FAILURE_RETRY in the source code of the glibc. TEMP_FAILURE_RETRY: https://www.gnu.org/software/libc/manual/html_node/Interrupted-Primitives.html#Interrupted-Primitives
Following functions are called with TEMP_FAILURE_RETRY (in glibc code, doc and examples): - accept, send, sendfile, sendmsg, accept4, connect, sendto, recvmsg - write, writev, read, readv, pwrite - fdatasync, fsync - waitpid - select, poll - mq_send, mq_timedsend, mq_receive, mq_timedreceive - clock_nanosleep, timer_settime, nanosleep - posix_fallocate - sem_wait, sem_timedwait, sem_trywait - aio_suspend - fcntl(F_SETLK) ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue23648> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com