Author asvetlov
Recipients asvetlov, greckov, yselivanov
Date 2020-12-02.12:35:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1606912529.73.0.0506589458732.issue42538@roundup.psfhosted.org>
In-reply-to
Content
I understand the issue as the following:

1. You don't save the result of `asyncio.create_task()` somewhere.
The task object is dereferenced and thus you see a warning.

2. With PYTHONASYNCIODEBUG on the task is referenced also by internal debug structure, that's why you don't see the warning.

Perhaps we should store a weak reference to task in _source_traceback

Minor thing but nice to have it fixed.
History
Date User Action Args
2020-12-02 12:35:29asvetlovsetrecipients: + asvetlov, yselivanov, greckov
2020-12-02 12:35:29asvetlovsetmessageid: <1606912529.73.0.0506589458732.issue42538@roundup.psfhosted.org>
2020-12-02 12:35:29asvetlovlinkissue42538 messages
2020-12-02 12:35:29asvetlovcreate