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 vstinner
Date 2014-06-24.09:49:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1403603371.13.0.654844548808.issue21857@psf.upfronthosting.co.za>
In-reply-to
Content
Attached patch detects (when Python is compiled in debug mode) if functions that may clear the current exception are called with an exception set.

The check avoids loosing an exception.

The problem is that the test_sqlite fails with the patch applied. I will open a new patch for that.

I already added similar checks in functions of Python/ceval.c.
History
Date User Action Args
2014-06-24 09:49:31vstinnersetrecipients: + vstinner
2014-06-24 09:49:31vstinnersetmessageid: <1403603371.13.0.654844548808.issue21857@psf.upfronthosting.co.za>
2014-06-24 09:49:31vstinnerlinkissue21857 messages
2014-06-24 09:49:31vstinnercreate