Exception

Navid Parvini parvini_navid at yahoo.com
Thu Mar 8 06:37:31 CET 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

 
---------------------------------
The fish are biting.
 Get more visitors on your site using Yahoo! Search Marketing.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20070307/5d69b78f/attachment.html>


More information about the Python-list mailing list