Guido van Rossum added the comment: LGTM. Please commit in both repos and add to the list of cherrypicks for Larry.
On Tue, Feb 18, 2014 at 1:40 AM, STINNER Victor <rep...@bugs.python.org>wrote: > > STINNER Victor added the comment: > > If I add a sleep of 1 second before stdin.write(), the test always fail > with OSError(22, "Invalid parameter"). So it becomes obvious that the write > fails if the process already exited. > > Attached patch should fix the issue. Can someone review it? > > The test fails also on Python 3.3. > > ---------- > keywords: +patch > versions: +Python 3.3 > Added file: http://bugs.python.org/file34131/communicate_epipe.patch > > _______________________________________ > Python tracker <rep...@bugs.python.org> > <http://bugs.python.org/issue19612> > _______________________________________ > ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19612> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com