Author rnk
Recipients abbot, astrand, brian.curtin, dmalcolm, filippo, giampaolo.rodola, guettli, orsenthil, pitrou, r.david.murray, rnk, srid
Date 2010-07-17.16:13:17
SpamBayes Score 0.000150986
Marked as misclassified No
Message-id <1279383210.17.0.759249131216.issue5673@psf.upfronthosting.co.za>
In-reply-to
Content
I don't imagine this is going into 2.7.>0 at this point, so I ported the patch to py3k.  I also added support to check_output for the timeout parameter and added docs for all of the methods/functions that now take a timeout in the module.

The communicate docs include the pattern of:
try:
    outs, errs = p.communicate(timeout=15)
except subprocess.TimeoutExpired:
    p.kill()
    outs, errs = p.communicate()

And check_output uses it.
History
Date User Action Args
2010-07-17 16:13:30rnksetrecipients: + rnk, guettli, astrand, orsenthil, pitrou, giampaolo.rodola, abbot, r.david.murray, brian.curtin, srid, dmalcolm, filippo
2010-07-17 16:13:30rnksetmessageid: <1279383210.17.0.759249131216.issue5673@psf.upfronthosting.co.za>
2010-07-17 16:13:28rnklinkissue5673 messages
2010-07-17 16:13:28rnkcreate