On Thu, Dec 10, 2009 at 4:42 PM, mattia <ger...@gmail.com> wrote:

> def go():
>    threads = [Thread(target=do_work, args=()) for _ in range(2)]
>    for t in threads:
>        t.start()
>    for t in threads:
>        t.join()
>

The KeyboardInterrupt goes to the main thread, which is sitting there in
t.join() with no exception handler around it.

--
Daniel Stutzbach, Ph.D.
President, Stutzbach Enterprises, LLC <http://stutzbachenterprises.com>
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to