[issue32272] Remove asyncio.async function

2017-12-11 Thread Yury Selivanov
Change by Yury Selivanov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue32272] Remove asyncio.async function

2017-12-11 Thread Yury Selivanov
Yury Selivanov added the comment: New changeset 9edad3c7011ccab0a66a065933abebf3288cf1a1 by Yury Selivanov in branch 'master': bpo-32272: Remove asyncio.async() function. (#4784) https://github.com/python/cpython/commit/9edad3c7011ccab0a66a065933abebf3288cf1a1 -- ___

[issue32272] Remove asyncio.async function

2017-12-10 Thread Yury Selivanov
Change by Yury Selivanov : -- keywords: +patch pull_requests: +4685 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-li

[issue32272] Remove asyncio.async function

2017-12-10 Thread Yury Selivanov
New submission from Yury Selivanov : 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. -

[issue32272] Remove asyncio.async function

2017-12-10 Thread Yury Selivanov
Yury Selivanov added the comment: The function has been deprecated since Python 3.4.4. -- ___ Python tracker ___ ___ Python-bugs-lis

[issue32272] Remove asyncio.async function

2017-12-10 Thread Yury Selivanov
Change by Yury Selivanov : -- nosy: +asvetlov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt