Message382309
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. |
|
Date |
User |
Action |
Args |
2020-12-02 12:35:29 | asvetlov | set | recipients:
+ asvetlov, yselivanov, greckov |
2020-12-02 12:35:29 | asvetlov | set | messageid: <1606912529.73.0.0506589458732.issue42538@roundup.psfhosted.org> |
2020-12-02 12:35:29 | asvetlov | link | issue42538 messages |
2020-12-02 12:35:29 | asvetlov | create | |
|