This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients asvetlov, vstinner, yselivanov
Date 2019-10-22.21:58:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
It seems like MultiLoopChildWatcher doesn't respect the PEP 475: siginterrupt(False) must not be used. But the following change isn't enough to fix this issue (test_close_kill_running hang).

diff --git a/Lib/asyncio/ b/Lib/asyncio/
index d8f653045a..887f837bad 100644
--- a/Lib/asyncio/
+++ b/Lib/asyncio/
@@ -1192,9 +1192,6 @@ class MultiLoopChildWatcher(AbstractChildWatcher):
                                "restore to default handler on watcher close.")
                 self._saved_sighandler = signal.SIG_DFL
-            # Set SA_RESTART to limit EINTR occurrences.
-            signal.siginterrupt(signal.SIGCHLD, False)
     def _do_waitpid_all(self):
         for pid in list(self._callbacks):
Date User Action Args
2019-10-22 21:58:23vstinnersetrecipients: + vstinner, asvetlov, yselivanov
2019-10-22 21:58:23vstinnersetmessageid: <>
2019-10-22 21:58:23vstinnerlinkissue38323 messages
2019-10-22 21:58:23vstinnercreate