issue #249: epoll() raises IOError for EINTR, not select.error.

This commit is contained in:
David Wilson 2018-05-15 04:15:32 +01:00
parent 70376d861a
commit 5bdc1719c5
1 changed files with 1 additions and 1 deletions

View File

@ -235,7 +235,7 @@ def io_op(func, *args):
while True:
try:
return func(*args), False
except (select.error, OSError):
except (select.error, OSError, IOError):
e = sys.exc_info()[1]
_vv and IOLOG.debug('io_op(%r) -> OSError: %s', func, e)
if e[0] == errno.EINTR: