classification
Title: Doc for sys.exc_info has warning that is no longer valid
Type: behavior Stage:
Components: Documentation Versions: Python 3.0, Python 3.2, Python 3.1
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: georg.brandl Nosy List: georg.brandl, ghewgill (2)
Priority: Keywords

Created on 2009-11-17 18:12 by ghewgill, last changed 2009-11-17 18:12 by ghewgill.

Messages (1)
msg95393 - (view) Author: Greg Hewgill (ghewgill) Date: 2009-11-17 18:12
Based on a short discussion on python-dev: 
http://mail.python.org/pipermail/python-dev/2009-November/094306.html

the "Warning" box in the documentation for sys.exc_info needs to be 
updated in light of PEP 3134, and perhaps moved elsewhere since the 
circular reference problem can now occur whether or not the traceback 
returned by sys.exc_info is used.

It might also be worth mentioning that the way to break the circular 
reference, if necessary, is to explicitly set the __traceback__ member 
of the handled exception to None.
History
Date User Action Args
2009-11-17 18:12:45ghewgillcreate