Carl J. Van Arsdall:
>I've been toying with threads a lot lately and I've noticed that if a 
>scripting error occurs in a thread the thread dies, but not the process 
>that spawned the thread.
>
>Is python supposed to behave this way or is this type of behavior 
>accidental?

"start_new_thread(function, args[, kwargs])
When the function terminates with an unhandled exception, a stack trace is
printed and then the thread exits (but other threads continue to run)."
http://docs.python.org/lib/module-thread.html

-- 
René Pijlman
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to