Exception

Navid Parvini parvini_navid at yahoo.com
Thu Mar 8 01:08:41 EST 2007


Dear All,
   
  When an exception occurs in a Python Qt application and it is not caught,
an error message is printed to stderr and the control is given back
to the event handler (similar to the interactive Python session).
The resources allocated before the error occurred is not flushed, but
rather kept with the traceback information. The only way to release
these is to call sys.exc_clear(). Is there a way to force sys.exc_clear()
to be called automatically upon writing the error message?

  Thank you in advance.
  Navid

 
---------------------------------
Never miss an email again!
Yahoo! Toolbar alerts you the instant new Mail arrives. Check it out.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20070307/954b2836/attachment.html>


More information about the Python-list mailing list