On Sun, Sep 11, 2016 at 11:54 PM, Andrew Svetlov
<andrew.svet...@gmail.com> wrote:
> Should Task.current_task() be declared as a part of supported public API?

Sure.

> Should we declare that every asyncio coroutine is executed in a task
> context?

What importance does this have? Task.get_current_task() can return None.

-- 
--Guido van Rossum (python.org/~guido)
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to