Bugs item #1168746, was opened at 2005-03-22 23:07
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1168746&group_id=5470

Category: Documentation
Group: None
Status: Open
Resolution: None
Priority: 4
Submitted By: Armin Rigo (arigo)
Assigned to: Nobody/Anonymous (nobody)
Summary: frame.f_exc_type,value,traceback

Initial Comment:
The frame object attributes f_exc_type, f_exc_value, f_exc_traceback are 
misdocumented.  They are not the last exception caught by the frame, nor the 
one currently handled, or anything reasonable like that.

They give the last exception raised in the parent frame, and only if another 
exception was ever raised in the current frame (in all other cases they are 
None).

I very much doubt this is useful to anyone, so maybe un-publishing the 
attributes would be sensible, but in any case the doc needs a small fix 
(ref/types.html and the doc about and in inspect.py).

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1168746&group_id=5470
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to