470,604 Members | 2,065 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,604 developers. It's quick & easy.

sys.excepthook and threads

ian
Hi,

sys.excepthook don't work if an exception come in a thread...
It's normal or its a bug ? There are any tip ? look here :
http://spyced.blogspot.com/2005_06_01_archive.html

Thx
Mar 27 '07 #1
1 1804
ian schrieb:
Hi,

sys.excepthook don't work if an exception come in a thread...
It's normal or its a bug ? There are any tip ? look here :
http://spyced.blogspot.com/2005_06_01_archive.html

Thx
I think sys.excepthook is a thread local variable. This means the
variable has to be set by the thread for which it should be active.

You did set sys.excepthook in your main thread. This setting is not
propagated to your newly created thread.

This is my observation...

Peer

Apr 12 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Josh Close | last post: by
6 posts views Thread by Lunchtimemama | last post: by
1 post views Thread by Jesus Rivero - (Neurogeek) | last post: by
reply views Thread by Pramod TK | last post: by
1 post views Thread by Hari Sekhon | last post: by
reply views Thread by Larry Bates | last post: by
1 post views Thread by Hari Sekhon | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.