Skip to content
This repository was archived by the owner on Nov 23, 2017. It is now read-only.
/ asyncio Public archive
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 0cf2e73

Browse files
committedNov 8, 2016
errpipe_read must be non-blocking
1 parent a77c0ff commit 0cf2e73

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎asyncio/unix_events.py

+1
Original file line numberDiff line numberDiff line change
@@ -682,6 +682,7 @@ def _cleanup_on_exec_failure(self):
682682

683683
def _get_exec_err_pipe(self):
684684
errpipe_read, errpipe_write = self._loop._socketpair()
685+
errpipe_read.setblocking(False)
685686
_set_inheritable(errpipe_write.fileno(), False)
686687
return errpipe_read.detach(), errpipe_write.detach()
687688

0 commit comments

Comments
 (0)
This repository has been archived.