[New-bugs-announce] [issue32272] Remove asyncio.async function

Yury Selivanov report at bugs.python.org
Sun Dec 10 18:57:08 EST 2017


New submission from Yury Selivanov <yselivanov at gmail.com>:

asyncio.async() is a deprecated alias for asyncio.ensure_future().

Since Python 3.7, async and await are proper keywords, and it is no longer possible to use the function.  I.e. both 'from asyncio import async' and 'asyncio.async(...)' are a SyntaxError.

----------
components: asyncio
messages: 308006
nosy: yselivanov
priority: normal
severity: normal
status: open
title: Remove asyncio.async function
type: behavior
versions: Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32272>
_______________________________________


More information about the New-bugs-announce mailing list