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 vstinner
Recipients georg.brandl, serhiy.storchaka, vstinner
Date 2015-03-26.11:16:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1427368592.67.0.0890296044996.issue23782@psf.upfronthosting.co.za>
In-reply-to
Content
If a new exception is raised by _PyTraceback_Add(), the original exception is lost. It's sad because _PyTraceback_Add() is supposed to enhance the current exception, not to drop it.

In the draft of my PEP 490, I propose to chain the two exceptions.
History
Date User Action Args
2015-03-26 11:16:32vstinnersetrecipients: + vstinner, georg.brandl, serhiy.storchaka
2015-03-26 11:16:32vstinnersetmessageid: <1427368592.67.0.0890296044996.issue23782@psf.upfronthosting.co.za>
2015-03-26 11:16:32vstinnerlinkissue23782 messages
2015-03-26 11:16:32vstinnercreate