Message120229
| Author |
asksol |
| Recipients |
5houston, asksol, jnoller |
| Date |
2010年11月02日.15:16:11 |
| SpamBayes Score |
3.9480662e-07 |
| Marked as misclassified |
No |
| Message-id |
<1288710974.23.0.602971353125.issue8028@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
It seems that Process.terminate is not meant to be used by the child, but only the parent.
From the documentation:
"Note that the start(), join(), is_alive() and exit_code methods
should only be called by the process that created the process object."
Either terminate() should be added to this list,
or terminate should be patch to call sys.exit in a child process.
I vote for the former, so I attached a doc patch. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2010年11月02日 15:16:14 | asksol | set | recipients:
+ asksol, jnoller, 5houston |
| 2010年11月02日 15:16:14 | asksol | set | messageid: <1288710974.23.0.602971353125.issue8028@psf.upfronthosting.co.za> |
| 2010年11月02日 15:16:12 | asksol | link | issue8028 messages |
| 2010年11月02日 15:16:12 | asksol | create |
|