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 SpecLad
Recipients SpecLad, giampaolo.rodola, njs, vstinner
Date 2019-12-09.21:46:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> I'm pretty sure you mean WNOWAIT, right?


> revalidate pid licenses

What does this mean?

> I think we can patch up this last race condition by adding yet one more lock

Wouldn't it be sufficient to add

if self.returncode is not None:
    return self.returncode

at the top of poll()?

(And in fact, you don't even need to add it, since an equivalent of this check is already there.)

I think this makes calling poll() from wait() unnecessary too.
Date User Action Args
2019-12-09 21:46:45SpecLadsetrecipients: + SpecLad, vstinner, giampaolo.rodola, njs
2019-12-09 21:46:45SpecLadsetmessageid: <>
2019-12-09 21:46:45SpecLadlinkissue38630 messages
2019-12-09 21:46:45SpecLadcreate