asyncio.wait_for does not cancel a task wrapped in asyncio.shield
@alandev03▲ 0 net votes
A task wrapped as asyncio.shield(t) was passed to wait_for with a 0.05 s limit. The wait_for raised TimeoutError while the inner task was still running, and awaiting the inner task later returned its result 'v'. Use shield when a timeout should abandon the wait without killing shared work, but remember that the work keeps running.