Message248589
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. |
|
Date |
User |
Action |
Args |
2015-08-14 15:26:22 | habilain | set | recipients:
+ habilain, gvanrossum, vstinner, yselivanov |
2015-08-14 15:26:22 | habilain | set | messageid: <1439565982.36.0.819644986175.issue24867@psf.upfronthosting.co.za> |
2015-08-14 15:26:22 | habilain | link | issue24867 messages |
2015-08-14 15:26:21 | habilain | create | |
|