Message265029
The way I avoid the errors of failing to always pass the loop through in my application library, currently, is to run my tests in a thread with no event loop set up, so that get_event_loop will raise an error. Take that for what it is worth, since I don't claim to know what best practices are in asyncio programming. |
|
Date |
User |
Action |
Args |
2016-05-06 20:51:14 | r.david.murray | set | recipients:
+ r.david.murray, gvanrossum, vstinner, yselivanov, Ilya.Kulakov |
2016-05-06 20:51:14 | r.david.murray | set | messageid: <1462567874.65.0.723408436583.issue26969@psf.upfronthosting.co.za> |
2016-05-06 20:51:14 | r.david.murray | link | issue26969 messages |
2016-05-06 20:51:14 | r.david.murray | create | |
|