Cheryl Sabella added the comment:
It seems that the note about a warning being logged if a pending task is
destroyed does not exist in the new, rewritten version of the asyncio docs.
Therefore, I'm going to close this as out of date.
--
nosy: +cheryl.sabella
resolution: -> out of
Changes by Martin Panter vadmium...@gmail.com:
--
nosy: +vadmium
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22474
___
___
Python-bugs-list
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +giampaolo.rodola, gvanrossum, haypo, pitrou, yselivanov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22474
___
Changes by STINNER Victor victor.stin...@gmail.com:
--
components: +asyncio
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22474
___
___
STINNER Victor added the comment:
destroyed means collected by the garbage collector, when the last reference
the task objected was cleared. To be honest, I have no idea who keeps a
reference to tasks nor how the pending task destroyed bug occurs.
pending means that the execution of the
New submission from R. David Murray:
In https://docs.python.org/3/library/asyncio-task.html#task, there is a note
about a warning being logged if a pending task is destroyed. The section does
not explain or link to an explanation of how a task might get destroyed. Nor
does it define