Threads and sys.excepthook

Jonathan Ellis jbellis at gmail.com
Tue Mar 28 19:10:34 CEST 2006


Jesus Rivero - (Neurogeek) wrote:
> Original exception was:
> Unhandled exception in thread started by
> Error in sys.excepthook:
>
> Original exception was:
>
> And if put a time.sleep(1) after the       thread.start_new(test,
> (name,)) #(1) part, then it does it all perfectly.

Looks like the interpreter is shutting down before all the exception
processing finishes.

-Jonathan




More information about the Python-list mailing list