FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

errpipe_read must be non-blocking · python/asyncio@875b00e · GitHub

This repository was archived by the owner on Nov 23, 2017. It is now read-only.
/ asyncio Public archive

Commit 875b00e

Browse files
committed
errpipe_read must be non-blocking
1 parent 4ba3e5b commit 875b00e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎asyncio/unix_events.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -664,6 +664,7 @@ def _cleanup_on_exec_failure(self):
664664

665665
def _get_exec_err_pipe(self):
666666
errpipe_read, errpipe_write = self._loop._socketpair()
667+
errpipe_read.setblocking(False)
667668
_set_inheritable(errpipe_write.fileno(), False)
668669
return errpipe_read.detach(), errpipe_write.detach()
669670

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL