This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author cmeyer
Recipients bernat, cmeyer, docs@python, nanjekyejoannah
Date 2021-10-22.15:27:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1634916440.05.0.78428054426.issue44665@roundup.psfhosted.org>
In-reply-to
Content
Is there a way to reproduce this issue? I run the following code in Python 3.9 and it works as expected (prints "xyz" twice).

import asyncio
import gc

async def xyz():
    print("xyz")

event_loop = asyncio.get_event_loop()

event_loop.create_task(xyz())

t = event_loop.create_task(xyz())
del t

gc.collect()

event_loop.stop()
event_loop.run_forever()
History
Date User Action Args
2021-10-22 15:27:20cmeyersetrecipients: + cmeyer, docs@python, nanjekyejoannah, bernat
2021-10-22 15:27:20cmeyersetmessageid: <1634916440.05.0.78428054426.issue44665@roundup.psfhosted.org>
2021-10-22 15:27:20cmeyerlinkissue44665 messages
2021-10-22 15:27:19cmeyercreate