New submission from Yury Selivanov <yseliva...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue32272>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to