Message265016
> Probably it would make sense to modify behavior of the default policy to make get_event_loop to return Thread-local event loop when called from out-of-event-loop and return currently running event loop when called from within a coroutine.
The problem with this approach is that you're relying on the presence of GIL. If, let's say, PyPy releases tomorrow with 3.5 and STM, this won't work. |
|
Date |
User |
Action |
Args |
2016-05-06 20:02:39 | yselivanov | set | recipients:
+ yselivanov, gvanrossum, vstinner, r.david.murray, Ilya.Kulakov |
2016-05-06 20:02:39 | yselivanov | set | messageid: <1462564959.15.0.0110223721599.issue26969@psf.upfronthosting.co.za> |
2016-05-06 20:02:39 | yselivanov | link | issue26969 messages |
2016-05-06 20:02:39 | yselivanov | create | |
|