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 larry, ncoghlan, python-dev, vstinner, xdegaye
Date 2014-02-09.01:44:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1391910244.83.0.646913524193.issue20500@psf.upfronthosting.co.za>
In-reply-to
Content
"I also added a versionchanged to PyObject_Str and a note in the Porting section of What's New, as third party extensions could also be affected by this change - it elevates "may silently discard an active exception" to "debug build assertion failure"."

Hi, I added this check in many other functions: PyEval_EvalFrameEx(), PyEval_CallObjectWithKeywords(), PyObject_Repr(), PyObject_Str(). And also private methods like type_call().

I added these assertions when I worked on #18408 to ensure that MemoryError exceptions are no more ignored.
History
Date User Action Args
2014-02-09 01:44:05vstinnersetrecipients: + vstinner, ncoghlan, larry, xdegaye, python-dev
2014-02-09 01:44:04vstinnersetmessageid: <1391910244.83.0.646913524193.issue20500@psf.upfronthosting.co.za>
2014-02-09 01:44:04vstinnerlinkissue20500 messages
2014-02-09 01:44:03vstinnercreate