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 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 <1427503473.61.0.0308073034942.issue23792@psf.upfronthosting.co.za>
In-reply-to
Content
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
help(_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.
History
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: <1427503473.61.0.0308073034942.issue23792@psf.upfronthosting.co.za>
2015-03-28 00:44:33martin.panterlinkissue23792 messages
2015-03-28 00:44:33martin.pantercreate