Exceptions in threads

Alex Martelli aleax at aleax.it
Thu Jan 24 10:26:07 EST 2002


"Dale Strickland-Clark" <dale at riverhall.NOTHANKS.co.uk> wrote in message
news:s8805u47uglj367vmdn9iob40dtuv066su at 4ax.com...
> Martin von Loewis <loewis at informatik.hu-berlin.de> wrote:
>
> Thanks for the repsonse. Pretty much as I expect, unfortunately.
>
> >
> >How would you establish an exception handler by other means but code?
>
> I was kind of hoping for some undocumented onException() or onEnd()
> methods that I could override. A bit of a long shot, I grant you.

Well, there IS sys.excepthook, but I think it's global, not per-thread.


Alex






More information about the Python-list mailing list