We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8b1976 commit ded8463Copy full SHA for ded8463
tasktiger/executor.py
@@ -334,16 +334,16 @@ def check_child_exit() -> Optional[int]:
334
try:
335
# Behavior of a would be blocking read()
336
# Linux:
337
- # Python 2.7 Raises IOError
+ # Python 2.7 Raises OSError
338
# Python 3.x returns empty string
339
#
340
# macOS:
341
# Returns empty string
342
opened_fd.read(1)
343
- except IOError:
+ except OSError:
344
pass
345
346
- except select.error as e:
+ except OSError as e:
347
if e.args[0] != errno.EINTR:
348
raise
349
0 commit comments