bpo-43216: Remove @asyncio.coroutine by illia-v · Pull Request #26369 · python/cpython (original) (raw)
Merged, thanks.
I decided to no longer wait for @1st1 or @asvetlov since they seem to be busy. The change looks reasonable.
If this change breaks too many asyncio project, we can consider to revert it, help projects to migrate, and reschedule the removal once enough projects migrated. I hope that in 2021, most projects are now written with "async def" and "await". The @coroutine
syntax is a legacy of Python 3.4-3.5 era. I know that one of reasons why Instagram migrated from Python 2.7 to 3.6 is to get async def
syntax!