[docs] [issue24487] Change asyncio.async() → ensure_future()

Martin Panter report at bugs.python.org
Tue Jun 23 04:58:21 CEST 2015


Martin Panter added the comment:

There are a few references left in that revision. For instance <https://docs.python.org/3.5/library/asyncio-task.html#coroutines> still suggests scheduling a coroutine by calling async(). But depending on the context this may cause a syntax error in 3.5, so I think it should suggest calling ensure_future() instead.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24487>
_______________________________________


More information about the docs mailing list