[issue14623] Shutdown exception in daemon thread
Antoine Pitrou
report at bugs.python.org
Thu Apr 19 23:15:24 CEST 2012
Antoine Pitrou <pitrou at free.fr> added the comment:
> Would it be correct to terminate daemon threads prior to wiping the
> globals, since the threads won't be able to accomplish much anyway?
Daemon threads are not actually "terminated" by the Python interpreter, they just keep running in the background until the process exits.
The situation should be much better in Python 3.2, where daemon threads are frozen (their execution is halted) when the interpreter starts to shutdown.
I don't think this will be ever fixed in 2.7, though. It's a slightly delicate change.
----------
nosy: +pitrou
resolution: -> wont fix
stage: -> committed/rejected
status: open -> closed
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14623>
_______________________________________
More information about the Python-bugs-list
mailing list