Message360326
Thanks for the report.
Your example could be boiled down to the following:
coro = asynciter()
await coro
await coro
The second call incorrectly returns None but should raise an exception, double awaiting is a programming error.
For regular async functions it raises "RuntimeError: cannot reuse already awaited coroutine" |
|
Date |
User |
Action |
Args |
2020-01-20 18:02:13 | asvetlov | set | recipients:
+ asvetlov, jmg, yselivanov |
2020-01-20 18:02:13 | asvetlov | set | messageid: <1579543333.72.0.597011253134.issue39386@roundup.psfhosted.org> |
2020-01-20 18:02:13 | asvetlov | link | issue39386 messages |
2020-01-20 18:02:13 | asvetlov | create | |
|