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.

Author chris.jerdonek
Recipients chris.jerdonek, gvanrossum, hynek, martin.panter, ned.deily, njs, vstinner, yselivanov
Date 2020-05-02.11:48:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1588420104.6.0.399268731152.issue29587@roundup.psfhosted.org>
In-reply-to
Content
FYI, I was able to finish addressing the other exception-chaining cases (the ones covered by the other issue) with a simple change to the fix for this PR.

I moved the call to _PyErr_ChainExceptions() a bit deeper: into gen_send_ex() before the call to _PyEval_EvalFrame(), and behind an `if (exc)` check.

So I think the tracebacks should improve a lot.
History
Date User Action Args
2020-05-02 11:48:24chris.jerdoneksetrecipients: + chris.jerdonek, gvanrossum, vstinner, ned.deily, njs, hynek, martin.panter, yselivanov
2020-05-02 11:48:24chris.jerdoneksetmessageid: <1588420104.6.0.399268731152.issue29587@roundup.psfhosted.org>
2020-05-02 11:48:24chris.jerdoneklinkissue29587 messages
2020-05-02 11:48:24chris.jerdonekcreate