Author martin.panter
Recipients RusiMody, berker.peksag, ezio.melotti, martin.panter, r.david.murray
Date 2015-03-28.00:44:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I suspect you also need ignore signals while piping data to the child process. Similar to how the POSIX system() call ignores SIGINT and SIGQUIT soon after spawning the child, until after the child has exited.

Try with a large help text on Linux, like

import _pyio

Also, Python 2 still gets interrupted for me, it is just that it doesn’t seem to happen immediately if it is up to the pipe.close() call.
Date User Action Args
2015-03-28 00:44:33martin.pantersetrecipients: + martin.panter, ezio.melotti, r.david.murray, RusiMody, berker.peksag
2015-03-28 00:44:33martin.pantersetmessageid: <>
2015-03-28 00:44:33martin.panterlinkissue23792 messages
2015-03-28 00:44:33martin.pantercreate