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 vstinner
Recipients docs@python, giampaolo.rodola, gvanrossum, pitrou, r.david.murray, vstinner, yselivanov
Date 2014-09-24.14:34:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1411569264.2.0.783244376509.issue22474@psf.upfronthosting.co.za>
In-reply-to
Content
"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 coroutine object didn't finish. In fact, it's related to Task.done(): a task is pending is task.done() is False.

There is a corner case: if task.cancel() was called but the coroutine object was not executed yet to handle the CancelledError, the task is still "pending".

Maybe "pending" is not the best word, and "not done" is better.
History
Date User Action Args
2014-09-24 14:34:24vstinnersetrecipients: + vstinner, gvanrossum, pitrou, giampaolo.rodola, r.david.murray, docs@python, yselivanov
2014-09-24 14:34:24vstinnersetmessageid: <1411569264.2.0.783244376509.issue22474@psf.upfronthosting.co.za>
2014-09-24 14:34:24vstinnerlinkissue22474 messages
2014-09-24 14:34:24vstinnercreate