Message355507
I have a different feeling: we should start raising deprecation for asyncio.Queue() if it is created without running event loop.
It required `get_event_loop()` and `loop.is_running()` checks.
Later the pair can be replaced with `get_running_loop()`.
I think no check at awaiting time is needed; we never do it for other asyncio parts. Just control of the loop at creation time is enough; if the object is created inside a running loop the sane code will use it with this loop context always. |
|
Date |
User |
Action |
Args |
2019-10-27 23:55:17 | asvetlov | set | recipients:
+ asvetlov, yselivanov |
2019-10-27 23:55:17 | asvetlov | set | messageid: <1572220517.17.0.719967711059.issue38599@roundup.psfhosted.org> |
2019-10-27 23:55:17 | asvetlov | link | issue38599 messages |
2019-10-27 23:55:17 | asvetlov | create | |
|