Author ncoghlan
Recipients Mark.Shannon, deleted0524, erik.bray, gregory.p.smith, jdemeyer, ncoghlan, njs, xgdomingo, yselivanov
Date 2017-09-06.01:28:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1504661329.82.0.056776636064.issue29988@psf.upfronthosting.co.za>
In-reply-to
Content
I've updated the draft PR to actually raise the exception from a pending call hook, rather than emulating it in a trace hook.

This was a bit trickier than I first expected, as it required moving the trace hook itself into C, as otherwise the "return" bytecode at the end of the trace function would trigger the just registered pending call (and the pending call processing isn't deferred in the trace function's frame).

Right now, the revised tests are failing though - I'm assuming that's a sign that the previous fix wasn't actually sufficient, and it only looked sufficient due to the way the errors were being emulated.
History
Date User Action Args
2017-09-06 01:28:49ncoghlansetrecipients: + ncoghlan, gregory.p.smith, njs, Mark.Shannon, erik.bray, jdemeyer, yselivanov, deleted0524, xgdomingo
2017-09-06 01:28:49ncoghlansetmessageid: <1504661329.82.0.056776636064.issue29988@psf.upfronthosting.co.za>
2017-09-06 01:28:49ncoghlanlinkissue29988 messages
2017-09-06 01:28:49ncoghlancreate