I understand these do almost the same thing, and asyncio.async can
even get a loop keyword argument so it's as flexible as
loop.create_task, which it uses internally.

So my question is: are both being kept going forward, or is this
redundancy just a temporary compatibility measure before asyncio.async
is deprecated?

The docs seem to imply ever-so-slightly that create_task is better and
async should be used "to support also older Python versions".

Cheers,

Luciano

-- 
Luciano Ramalho
|  Author of Fluent Python (O'Reilly, 2015)
|     http://shop.oreilly.com/product/0636920032519.do
|  Professor em: http://python.pro.br
|  Twitter: @ramalhoorg

Reply via email to