Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update to PEP 344 - exception attributes #44393

Closed
jimjjewett mannequin opened this issue Jan 2, 2007 · 5 comments
Closed

update to PEP 344 - exception attributes #44393

jimjjewett mannequin opened this issue Jan 2, 2007 · 5 comments
Labels
docs Documentation in the Doc dir

Comments

@jimjjewett
Copy link
Mannequin

jimjjewett mannequin commented Jan 2, 2007

BPO 1626538
Files
  • pep344diff.txt
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2008-01-06.22:29:46.270>
    created_at = <Date 2007-01-02.23:50:23.000>
    labels = ['docs']
    title = 'update to PEP 344 - exception attributes'
    updated_at = <Date 2008-01-06.22:29:46.270>
    user = 'https://bugs.python.org/jimjjewett'

    bugs.python.org fields:

    activity = <Date 2008-01-06.22:29:46.270>
    actor = 'admin'
    assignee = 'ping'
    closed = True
    closed_date = None
    closer = None
    components = ['Documentation']
    creation = <Date 2007-01-02.23:50:23.000>
    creator = 'jimjjewett'
    dependencies = []
    files = ['7688']
    hgrepos = []
    issue_num = 1626538
    keywords = ['patch']
    message_count = 5.0
    messages = ['51634', '51635', '51636', '51637', '51638']
    nosy_count = 2.0
    nosy_names = ['ping', 'jimjjewett']
    pr_nums = []
    priority = 'normal'
    resolution = 'accepted'
    stage = None
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue1626538'
    versions = ['Python 3.0']

    @jimjjewett
    Copy link
    Mannequin Author

    jimjjewett mannequin commented Jan 2, 2007

    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.

    @jimjjewett jimjjewett mannequin closed this as completed Jan 2, 2007
    @jimjjewett jimjjewett mannequin assigned ping Jan 2, 2007
    @jimjjewett jimjjewett mannequin added the docs Documentation in the Doc dir label Jan 2, 2007
    @jimjjewett jimjjewett mannequin closed this as completed Jan 2, 2007
    @jimjjewett jimjjewett mannequin assigned ping Jan 2, 2007
    @jimjjewett jimjjewett mannequin added the docs Documentation in the Doc dir label Jan 2, 2007
    @jimjjewett
    Copy link
    Mannequin Author

    jimjjewett mannequin commented Jan 2, 2007

    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)

    @jimjjewett
    Copy link
    Mannequin Author

    jimjjewett mannequin commented Jan 3, 2007

    File Added: pep344diff.txt

    @ping
    Copy link
    Mannequin

    ping mannequin commented Jan 3, 2007

    Okay, it will take me a moment to page this back into my head and respond.

    @ping
    Copy link
    Mannequin

    ping mannequin commented Jan 4, 2007

    I've checked in this change. Thanks for writing the patch.

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    docs Documentation in the Doc dir
    Projects
    None yet
    Development

    No branches or pull requests

    0 participants