Exception-handling

Odd-R. oddr at home.no.no
Fri Feb 24 04:57:58 EST 2006


I have come over a strange problem regarding exceptions
This is my code:

try:
  #some operation
except Exception, info:
  #some message
except:
  #??

When executing my code, I get to the last block here. This
I find rather strange, because I thought Exception would catch
all exceptions. But this is obviously not the case here.

What is this, and how can I get a hold of what causes the exception?

Thanks!



-- 
Har du et kjøleskap, har du en TV
så har du alt du trenger for å leve

-Jokke & Valentinerne



More information about the Python-list mailing list