![](https://secure.gravatar.com/avatar/60a2f1855ca0d8aac3fa75a57233a3f1.jpg?s=120&d=mm&r=g)
2 Feb
2017
2 Feb
'17
1:53 p.m.
On Feb 2, 2017, at 2:40 PM, Mark E. Haase <mehaase@gmail.com> wrote:
Is it possible to see where this task was created, e.g. the line containing asyncio.ensure_future(asyncio.sleep(...)) ? If not, is this a capability that could be added to debug mode? E.g. ensure_future would add its own stack trace to the task object so that it could be retrieved later when a pending task is destroyed.
Yeah, this is doable. I suggest you to open an issue on bugs.python.org. Yury