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 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:22pitrousetrecipients: + pitrou, ncoghlan, grahamd, Tamas.K
2013-08-22 15:30:22pitrousetmessageid: <1377185422.9.0.740708583608.issue18808@psf.upfronthosting.co.za>
2013-08-22 15:30:22pitroulinkissue18808 messages
2013-08-22 15:30:22pitroucreate