mirror of
https://github.com/python/cpython.git
synced 2025-07-23 03:05:38 +00:00
Issue #23285: PEP 475 -- Retry system calls failing with EINTR.
This commit is contained in:
parent
d005090e01
commit
6e6c59b508
18 changed files with 753 additions and 522 deletions
|
@ -137,9 +137,6 @@ def _spawn_posix(cmd, search_path=1, verbose=0, dry_run=0):
|
|||
try:
|
||||
pid, status = os.waitpid(pid, 0)
|
||||
except OSError as exc:
|
||||
import errno
|
||||
if exc.errno == errno.EINTR:
|
||||
continue
|
||||
if not DEBUG:
|
||||
cmd = executable
|
||||
raise DistutilsExecError(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue