Message195906
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. |
|
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 | |
|