Roundup Robot added the comment:
New changeset 35bc15fa4930 by Victor Stinner in branch 'default':
Issue #23715: Fix test_sigtimedwait() of test_eintr
https://hg.python.org/cpython/rev/35bc15fa4930
--
___
Python tracker rep...@bugs.python.org
STINNER Victor added the comment:
signal_eintr.py: More complete patch, modify also signal.sigwaitinfo().
--
I don't think that other signal functions need to be modified to handle EINTR.
POSIX manual pages:
- The pthread_sigmask() function shall not return an error code of [EINTR].
- The
Roundup Robot added the comment:
New changeset 8f9925a02fe7 by Victor Stinner in branch 'default':
Issue #23715: Enhance test.script_helper to investigate test_eintr failure
https://hg.python.org/cpython/rev/8f9925a02fe7
--
___
Python tracker
Roundup Robot added the comment:
New changeset ed8c2a4a6d3d by Victor Stinner in branch 'default':
Issue #23715: Fix test_script_helper
https://hg.python.org/cpython/rev/ed8c2a4a6d3d
--
___
Python tracker rep...@bugs.python.org
Roundup Robot added the comment:
New changeset 79aed09a9fa5 by Victor Stinner in branch 'default':
Issue #23715: Fix test_eintr, skip tests on signal.sigwaitinfo() and
https://hg.python.org/cpython/rev/79aed09a9fa5
--
___
Python tracker
Roundup Robot added the comment:
New changeset 33a6e2587aad by Victor Stinner in branch 'default':
Issue #23715: signal.sigwaitinfo() and signal.sigtimedwait() are now retried
https://hg.python.org/cpython/rev/33a6e2587aad
--
nosy: +python-dev
___
Changes by STINNER Victor victor.stin...@gmail.com:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23715
___
STINNER Victor added the comment:
It looks like signal.sigwaitinfo() can also fail with InterruptedError. It
should also be modified.
--
title: PEP 475: signal.sigtimedwait() must retry if sigtimedwait() failed with
EINTR - PEP 475: handle EINTR in the signal module