Message398794
When calling asyncio.gather() a DeprecationWarning is only emitted if no tasks are passed (which is probably the exceptional case, rather than the standard one).
This has resulted in us missing this deprecated argument in aiohttp until we received a bug report from a user trying it out against the 3.10 beta.
For some reason the warning only appears under a `if not coros_or_futures:` block. I think it should be run regardless:
https://github.com/python/cpython/blob/3.9/Lib/asyncio/tasks.py#L757 |
|
Date |
User |
Action |
Args |
2021-08-02 18:29:57 | dreamsorcerer | set | recipients:
+ dreamsorcerer, asvetlov, yselivanov |
2021-08-02 18:29:57 | dreamsorcerer | set | messageid: <1627928997.24.0.837145443801.issue44815@roundup.psfhosted.org> |
2021-08-02 18:29:57 | dreamsorcerer | link | issue44815 messages |
2021-08-02 18:29:57 | dreamsorcerer | create | |
|