This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: update to PEP 344 - exception attributes
Type: Stage:
Components: Documentation Versions: Python 3.0
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: ping Nosy List: jimjjewett, ping
Priority: normal Keywords: patch

Created on 2007-01-02 23:50 by jimjjewett, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
pep344diff.txt jimjjewett, 2007-01-03 00:00
Messages (5)
msg51634 - (view) Author: Jim Jewett (jimjjewett) Date: 2007-01-02 23:50
PEP 344 proposes adding __traceback__, __context__, and __cause__ attributes to Exception.

The primary objection has been that the __traceback__ exception would cause a cycle, which would delay resource release.

This objection is now added to the PEP, along with some details about why it is a problem, and why weakrefs aren't a straightforward solution.
msg51635 - (view) Author: Jim Jewett (jimjjewett) Date: 2007-01-02 23:56
http://mail.python.org/pipermail/python-3000/2007-January/005322.html

Guido said he could check it in if Ping agrees, so I'm assigning the patch to ping (who I *hope* is Ka-Ping Yee)
msg51636 - (view) Author: Jim Jewett (jimjjewett) Date: 2007-01-03 00:00
File Added: pep344diff.txt
msg51637 - (view) Author: Ka-Ping Yee (ping) * (Python committer) Date: 2007-01-03 00:30
Okay, it will take me a moment to page this back into my head and respond.
msg51638 - (view) Author: Ka-Ping Yee (ping) * (Python committer) Date: 2007-01-04 02:53
I've checked in this change.  Thanks for writing the patch.
History
Date User Action Args
2022-04-11 14:56:21adminsetgithub: 44393
2008-01-06 22:29:46adminsetkeywords: - py3k
versions: + Python 3.0
2007-01-02 23:50:23jimjjewettcreate