You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
asyncio.as_completed() drops an awaitable after a pending anext() call is cancelled #158004
Cancelling a pending asynchronous iteration step from asyncio.as_completed() consumes one of the iterator's remaining slots
without yielding an awaitable. If iteration is resumed after handling the cancellation, it stops one item early and one completed future is never yielded.
This can occur when a caller applies asyncio.timeout() to each iteration step and continues iterating after a timeout.
Activity