STINNER Victor added the comment: Charles-François Natali added the comment: > I just realized I didn't retry upon EINTR for open(): eintr-4.diff > adds this, along with tests (using a fifo). > > Also, I added comments explaining why we don't retry upon close() (see > e.g. http://lwn.net/Articles/576478/ and > http://linux.derkeiler.com/Mailing-Lists/Kernel/2005-09/3000.html).
I didn't read these articles yet, but I will. IMO the PEP must be updated if we don't retry in close(), since close() is used as an example where "EINTR is unexpected"! ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue23285> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com