Re: multithread exception handling

2005-09-20 Thread Piet van Oostrum
> [EMAIL PROTECTED] (p) wrote: [Timer example snipped] >p> My question is, why exception is not raised correctly? Could be the >p> reason that (probably) timer is another thread and there is no >p> exception in the main thread? yes, the doc of Timer says it is a subclass of Thread, and there

Re: multithread exception handling

2005-09-19 Thread Steve Horsley
[EMAIL PROTECTED] wrote: > Hello. > > I have problem and I ask you for help. Probably there is some quite > easy solution, but I can't see it. > > I'm trying to perform some action that have to be timeout safe. So here > is the structure of my program: > > \\\ > d

multithread exception handling

2005-09-19 Thread pegazik
Hello. I have problem and I ask you for help. Probably there is some quite easy solution, but I can't see it. I'm trying to perform some action that have to be timeout safe. So here is the structure of my program: \\\ def TimeoutHandler(): print '!' raise