homepage

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 idank
Recipients idank
Date 2011年08月19日.16:31:01
SpamBayes Score 0.00017134697
Marked as misclassified No
Message-id <1313771462.57.0.438793303014.issue12786@psf.upfronthosting.co.za>
In-reply-to
Content
The following program hangs on Debian, Python 2.6.6:
import subprocess
proc1 = subprocess.Popen(['cat'], stdin=subprocess.PIPE)
proc2 = subprocess.Popen(['cat'], stdin=subprocess.PIPE)
proc1.stdin.close()
proc1.wait()
Changing the last two lines to:
proc2.stdin.close()
proc2.wait()
Doesn't hang. The guys at #python-dev confirmed the same happens on 2.7 but not on 3.x.
History
Date User Action Args
2011年08月19日 16:31:02idanksetrecipients: + idank
2011年08月19日 16:31:02idanksetmessageid: <1313771462.57.0.438793303014.issue12786@psf.upfronthosting.co.za>
2011年08月19日 16:31:01idanklinkissue12786 messages
2011年08月19日 16:31:01idankcreate

AltStyle によって変換されたページ (->オリジナル) /