Skip to main content
Journey Uncommon Logo
JourneyUncommon
hardPythonawait schedulingSingle-choice MCQ

In CPython's asyncio, why does awaiting an already-completed Future NOT give other ready tasks a chance to run?

fut = loop.create_future() fut.set_result(123) asyncio.create_task(other()) # ready to run r = await fut # other() runs before or after this?