Message299397
| Author | mark.dickinson |
|---|---|
| Recipients | docs@python, mark.dickinson, r.david.murray |
| Date | 2017-07-28.15:30:51 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1501255851.06.0.919390227129.issue31065@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
Right, after following the source, I realise that `poll` is indeed returning `self.returncode` in all cases, and if the process hasn't terminated yet then `self.returncode` is still at its initial value of `None`. I can think of other ways that the result could potentially be indicated, though: when I poll, I'm asking whether the child process is still running or not, so a boolean result wouldn't be unreasonable. Or perhaps an exception (like doing `get(block=False)` on a queue does). I don't there's a good reason not to be explicit here. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2017-07-28 15:30:51 | mark.dickinson | set | recipients: + mark.dickinson, r.david.murray, docs@python |
| 2017-07-28 15:30:51 | mark.dickinson | set | messageid: <1501255851.06.0.919390227129.issue31065@psf.upfronthosting.co.za> |
| 2017-07-28 15:30:51 | mark.dickinson | link | issue31065 messages |
| 2017-07-28 15:30:51 | mark.dickinson | create | |