Author vstinner
Recipients martin.panter, memeplex, vstinner
Date 2016-02-17.11:14:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1455707665.41.0.185832548225.issue26372@psf.upfronthosting.co.za>
In-reply-to
Content
> This isn't consistent with the behavior of communicate with a timeout

Right, it looks like BrokenPipeError on writing into stdin is ignored in some cases, but not in all cases.

Attached patch for Python 3.6 adds two try/except BrokenPipeError with two unit tests.

It looks like Python 2.7 has a similar bug: stdin.close() is not surrounded by try/except BrokenPipeError.
History
Date User Action Args
2016-02-17 11:14:25vstinnersetrecipients: + vstinner, memeplex, martin.panter
2016-02-17 11:14:25vstinnersetmessageid: <1455707665.41.0.185832548225.issue26372@psf.upfronthosting.co.za>
2016-02-17 11:14:25vstinnerlinkissue26372 messages
2016-02-17 11:14:25vstinnercreate