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 pitrou
Recipients amaury.forgeotdarc, benjamin.peterson, pitrou, vstinner
Date 2008-08-20.23:09:08
SpamBayes Score 0.00030795668
Marked as misclassified No
Message-id <1219273748.87.0.710667028994.issue3611@psf.upfronthosting.co.za>
In-reply-to
Content
And if it doesn't work, try the following instead:

if (why == WHY_EXCEPTION) {
	PyObject *tmp1, *tmp2, *tmp3;
	tmp1 = tstate->exc_type;
	tmp2 = tstate->exc_value;
	tmp3 = tstate->exc_traceback;
	tstate->exc_type = NULL;
	tstate->exc_value = NULL;
	tstate->exc_traceback = NULL;
	Py_XDECREF(tmp1);
	Py_XDECREF(tmp2);
	Py_XDECREF(tmp3);
}
History
Date User Action Args
2008-08-20 23:09:08pitrousetrecipients: + pitrou, amaury.forgeotdarc, vstinner, benjamin.peterson
2008-08-20 23:09:08pitrousetmessageid: <1219273748.87.0.710667028994.issue3611@psf.upfronthosting.co.za>
2008-08-20 23:09:08pitroulinkissue3611 messages
2008-08-20 23:09:08pitroucreate