try except question - serious foo bar question, and pulling my hair out :-)

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Tue Feb 24 13:04:22 CET 2009


En Tue, 24 Feb 2009 09:22:41 -0200, Laszlo Nagy <gandalf at shopzeus.com>  
escribió:

> Given this class below:

[code removed]

> It seems impossible to me. The while loop should only exit if  
> stop_requested becomes set, OR if an exception is raised. However, all  
> exceptions are cought and logged. But there are no exceptions logged.  
> And stop_requested is NOT SET. (see the last line in the log).

I assume stop_requested is an Event object. Maybe other thread cleared it?

-- 
Gabriel Genellina




More information about the Python-list mailing list