[issue44371] asyncio.wait_for does not cancel running tasks in the correct fashion
Ofek Kirzner added the comment: Kindly reminder. Thx :) -- resolution: -> remind ___ Python tracker <https://bugs.python.org/issue44371> ___ ___ Python-
[issue44371] asyncio.wait_for does not cancel running tasks in the correct fashion
New submission from Ofek Kirzner : Following https://bugs.python.org/issue32751 I think wait_for should also wait for running coroutine in case it has been cancelled. Example code: import asyncio async def inner(): try: print(1) await asyncio.sleep(3600) print(2