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 gregory.p.smith
Recipients abo, astrand, dsagal, gjb1002, gregory.p.smith, gvanrossum, nnorwitz, tom_culliton
Date 2008-03-20.16:40:10
SpamBayes Score 0.00594071
Marked as misclassified No
Message-id <1206031211.3.0.660181022947.issue1731717@psf.upfronthosting.co.za>
In-reply-to
Content
"""Basically it's OK to collect
all the child exit codes if you record the results and return them when
requested. This would mean that waitpid and the like would have to check
a cached list of PIDs and exit statuses before actually waiting."""

note that this would still have problems.  PIDs are recycled by the OS
so as soon as you've waited on one and the process dies, the OS is free
to launch a new process using it.  If the new process happens to be
another one of ours launched by subprocess that would be a problem. 
Make the cached map of pids -> exit codes be a map of pids -> [list of
exit codes] instead?
History
Date User Action Args
2008-03-20 16:40:11gregory.p.smithsetspambayes_score: 0.00594071 -> 0.00594071
recipients: + gregory.p.smith, gvanrossum, nnorwitz, abo, astrand, gjb1002, dsagal, tom_culliton
2008-03-20 16:40:11gregory.p.smithsetspambayes_score: 0.00594071 -> 0.00594071
messageid: <1206031211.3.0.660181022947.issue1731717@psf.upfronthosting.co.za>
2008-03-20 16:40:10gregory.p.smithlinkissue1731717 messages
2008-03-20 16:40:10gregory.p.smithcreate