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 ncoghlan
Recipients asvetlov, greckov, ncoghlan, yselivanov
Date 2021-08-24.02:29:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1629772176.98.0.650121749693.issue42538@roundup.psfhosted.org>
In-reply-to
Content
While filed later, issue44665 correctly describes the problem reported here: asyncio is behaving as expected, but the docs don't make it clear that you need to save a reference to the result of ensure_future()/create_task() if you don't want to risk the task unexpectedly disappearing mid execution.

So marking this as a duplicate of that docs issue.
History
Date User Action Args
2021-08-24 02:29:37ncoghlansetrecipients: + ncoghlan, asvetlov, yselivanov, greckov
2021-08-24 02:29:36ncoghlansetmessageid: <1629772176.98.0.650121749693.issue42538@roundup.psfhosted.org>
2021-08-24 02:29:36ncoghlanlinkissue42538 messages
2021-08-24 02:29:36ncoghlancreate