Gregory P. Smith <g...@krypto.org> added the comment: realistically, file objects (Objects/fileobject.c) never raise EINTR as they use the C library fread/fwrite/fclose underneath. Why should a socket based file object every be allowed to raise EINTR rather than handling it internally?
IMHO people should only expect to handle EINTR when doing socket.send/recv or os.read/write/close, not using a file-like object. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue1628205> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com