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 Tim.Graham, berker.peksag, pitrou, python-dev, serhiy.storchaka, vstinner
Date 2015-03-30.01:30:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1427679055.28.0.0491805586777.issue23571@psf.upfronthosting.co.za>
In-reply-to
Content
> That last commit fixed compatibility with Django.

Good.

> Instead of an assert(), you could use Py_FatalError() at the end of _Py_CheckFunctionResult().

_Py_CheckFunctionResult() now calls Py_FatalError() in debug mode. By the way, I fixed various issues in Py_FatalError() to be able to display the exception and the traceback in more cases.

@Serhiy: Are you ok with that?

Can I close the issue?

FYI I write the PEP 490 as a "spin off" of this issue, to continue my work on the enhancement of exceptions in the C code: "PEP 490 - Chain exceptions at C level".
History
Date User Action Args
2015-03-30 01:30:55vstinnersetrecipients: + vstinner, pitrou, python-dev, berker.peksag, serhiy.storchaka, Tim.Graham
2015-03-30 01:30:55vstinnersetmessageid: <1427679055.28.0.0491805586777.issue23571@psf.upfronthosting.co.za>
2015-03-30 01:30:55vstinnerlinkissue23571 messages
2015-03-30 01:30:54vstinnercreate