Message95393
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. |
|
Date |
User |
Action |
Args |
2009-11-17 18:12:47 | ghewgill | set | recipients:
+ ghewgill, georg.brandl |
2009-11-17 18:12:47 | ghewgill | set | messageid: <1258481567.01.0.124523901293.issue7340@psf.upfronthosting.co.za> |
2009-11-17 18:12:45 | ghewgill | link | issue7340 messages |
2009-11-17 18:12:45 | ghewgill | create | |
|