In article <mailman.654.1294470254.6505.python-l...@python.org>, =?utf-8?Q?Alice_Bevan=E2=80=93McGregor?= <al...@gothcandy.com> wrote: > >A package of mine, TurboMail, suffers from the same threading issue if >used improperly; you enqueue e-mail, it starts a thread, then you >immediately exit. TM tries to work around the issue, but in most cases >that workaround does not work properly. (You get strange uncatchable >exceptions printed on stderr though AFIK the e-mail does get sent >correctly, your application may hang waiting for the thread pool to >drain if you have a "minimum thread count" option set.)
Why not write an exit handler that converts your thread to daemon? (Or something like that.) -- Aahz (a...@pythoncraft.com) <*> http://www.pythoncraft.com/ "All problems in computer science can be solved by another level of indirection." --Butler Lampson -- http://mail.python.org/mailman/listinfo/python-list