Antoine Pitrou added the comment:

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.

----------
nosy: +grahamd, ncoghlan
stage: test needed -> needs patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue18808>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to