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 oconnor663
Recipients gvanrossum, oconnor663, vstinner, yselivanov
Date 2016-04-26.04:40:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1461645634.01.0.295749785908.issue26848@psf.upfronthosting.co.za>
In-reply-to
Content
Setting stdin=PIPE and then calling communicate(b"") should close the child's stdin immediately, similar to stdin=DEVNULL. Instead, communicate() treats b"" like None and leaves the child's stdin open, which makes the child hang forever if it tries to read anything.

I have a PR open with a fix and a test: https://github.com/python/cpython/pull/33
History
Date User Action Args
2016-04-26 04:40:34oconnor663setrecipients: + oconnor663, gvanrossum, vstinner, yselivanov
2016-04-26 04:40:34oconnor663setmessageid: <1461645634.01.0.295749785908.issue26848@psf.upfronthosting.co.za>
2016-04-26 04:40:33oconnor663linkissue26848 messages
2016-04-26 04:40:33oconnor663create