Message195906
| Author |
pitrou |
| Recipients |
Tamas.K, grahamd, ncoghlan, pitrou |
| Date |
2013年08月22日.15:30:22 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1377185422.9.0.740708583608.issue18808@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
I *think* we could remove that limitation in Py_EndInterpreter(). After all, Py_Finalize() is able to join() non-daemon threads, so there's no reason for Py_EndInterpreter() to allow it too. We must keep the fatal error for daemon threads, though.
As for ensuring the thread state is destroyed before Thread.join() returns, I don't know how to do it: the thread state isn't a PyObject, we can't access it from Python code. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2013年08月22日 15:30:22 | pitrou | set | recipients:
+ pitrou, ncoghlan, grahamd, Tamas.K |
| 2013年08月22日 15:30:22 | pitrou | set | messageid: <1377185422.9.0.740708583608.issue18808@psf.upfronthosting.co.za> |
| 2013年08月22日 15:30:22 | pitrou | link | issue18808 messages |
| 2013年08月22日 15:30:22 | pitrou | create |
|