[issue34790] Deprecate passing coroutine objects to asyncio.wait()

Raymond Hettinger report at bugs.python.org
Mon Oct 28 23:43:04 EDT 2019


Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:

Is this whatsnew/3.8.rst entry correct and complete?

'''
The :func:`asyncio.coroutine` :term:`decorator` is deprecated and will be removed in version 3.10.  Instead of ``@asyncio.coroutine``, use :keyword:`async def` instead. (Contributed by Andrew Svetlov in :issue:`36921`.)
'''

----------
nosy: +rhettinger

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


More information about the Python-bugs-list mailing list