Message326265
asyncio.wait() accepts coroutines, wraps them into Tasks, and later returns those implicitly created Tasks in (done, pending) sets. This is very confusing to new asyncio users and it's almost impossible to figure out what is going on. See the first PR to the docs for more info.
Andrew, I think we should deprecate passing coroutines to asyncio.wait() in 3.8, and disallow that in 4.0. |
|
Date |
User |
Action |
Args |
2018-09-24 16:42:33 | yselivanov | set | recipients:
+ yselivanov, asvetlov |
2018-09-24 16:42:33 | yselivanov | set | messageid: <1537807353.36.0.956365154283.issue34790@psf.upfronthosting.co.za> |
2018-09-24 16:42:33 | yselivanov | link | issue34790 messages |
2018-09-24 16:42:33 | yselivanov | create | |
|