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 mhobbs, pitrou
Date 2012-04-19.21:15:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1334870124.47.0.111839978789.issue14623@psf.upfronthosting.co.za>
In-reply-to
Content
> 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.
History
Date User Action Args
2012-04-19 21:15:24pitrousetrecipients: + pitrou, mhobbs
2012-04-19 21:15:24pitrousetmessageid: <1334870124.47.0.111839978789.issue14623@psf.upfronthosting.co.za>
2012-04-19 21:15:23pitroulinkissue14623 messages
2012-04-19 21:15:23pitroucreate