Feb. 2, 2017
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