Message355589
> It would be nice if asyncio.run() uses the default loop if it's available (and not running), and that the default loop remains intact after the call returns.
Unfortunately it's not possible to implement that reliably and without a bunch of surprising behaviors.
Also, if you want the loop to be intact after asyncio.run, it means that you would not want to close it;that would defeat the purpose of asyncio.run. |
|
Date |
User |
Action |
Args |
2019-10-28 19:07:49 | yselivanov | set | recipients:
+ yselivanov, asvetlov, lschoe |
2019-10-28 19:07:49 | yselivanov | set | messageid: <1572289669.74.0.542530747409.issue38599@roundup.psfhosted.org> |
2019-10-28 19:07:49 | yselivanov | link | issue38599 messages |
2019-10-28 19:07:49 | yselivanov | create | |
|