Closed as not planned
Description
Bug report
Bug description:
import asyncio
async def main():
async def asyncfn():
assert asyncio.current_task()
t = asyncio.tasks._CTask(asyncfn())
await t
print("ctask worked")
t = asyncio.tasks._PyTask(asyncfn())
await t
print("pytask worked")
asyncio.run(main())
CPython versions tested on:
CPython main branch
Operating systems tested on:
No response
Metadata
Metadata
Assignees
Projects
Status
Done