Author habilain
Recipients gvanrossum, habilain, vstinner, yselivanov
Date 2015-08-14.15:26:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1439565982.36.0.819644986175.issue24867@psf.upfronthosting.co.za>
In-reply-to
Content
I've been playing around with native coroutines and asyncio, and came across an issue with retrieving exceptions from tasks: The get_frame method on a Task in asyncio fails with an AttibuteError because it assumes that gi_frame as the attribute containing the stack frame; with native coroutines it's cr_frame.

I've attached a quick patch that just uses hasattr to see if gi_frame is present, and if not try cr_frame. This may not be the most elegant solution, but it does fix the issue. If there's any other stuff I can provide to help with this (within reason), just say the word.
History
Date User Action Args
2015-08-14 15:26:22habilainsetrecipients: + habilain, gvanrossum, vstinner, yselivanov
2015-08-14 15:26:22habilainsetmessageid: <1439565982.36.0.819644986175.issue24867@psf.upfronthosting.co.za>
2015-08-14 15:26:22habilainlinkissue24867 messages
2015-08-14 15:26:21habilaincreate