classification
Title: Doc for sys.exc_info has warning that is no longer valid
Type: behavior Stage: needs patch
Components: Documentation Versions: Python 3.2, Python 3.1
process
Status: open Resolution: accepted
Dependencies: Superseder:
Assigned To: docs@python Nosy List: docs@python, georg.brandl, ghewgill
Priority: normal Keywords:

Created on 2009-11-17 18:12 by ghewgill, last changed 2010-07-11 11:30 by eric.araujo.

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
2010-07-11 11:30:11eric.araujosetstage: needs patch
resolution: accepted
versions: - Python 3.0
2010-07-11 10:50:29BreamoreBoysetassignee: georg.brandl -> docs@python

nosy: + docs@python
2009-11-17 18:12:45ghewgillcreate