> On Feb 2, 2017, at 2:40 PM, Mark E. Haase <meha...@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
_______________________________________________
Async-sig mailing list
Async-sig@python.org
https://mail.python.org/mailman/listinfo/async-sig
Code of Conduct: https://www.python.org/psf/codeofconduct/

Reply via email to