-
-
Notifications
You must be signed in to change notification settings - Fork 33.1k
Closed as not planned
Closed as not planned
Copy link
Labels
3.14bugs and security fixesbugs and security fixestopic-asynciotype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
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
Labels
3.14bugs and security fixesbugs and security fixestopic-asynciotype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Projects
Status
Done