Ron Adam wrote:
> I had read somewhere that exception objects were global, but that wasn't 
> correct, after testing it, they appear to be part of the local frame. So 
> once a function exits, any exceptions objects that happened inside the 
> function are no longer retrievable.
> 
> And checking exception ID's to see if any new exceptions occurred 
> doesn't work either, as the numbers get reused too frequently in a short 
> period.

Also, in case you don't get notification of PEP checkins, you'll want to 
know that there's a new PEP about this:

PEP 344: Exception Chaining and Embedded Tracebacks [1]

STeVe

[1] http://www.python.org/peps/pep-0344.html
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to