[issue27527] Make not yielding from or awaiting a coroutine a SyntaxError

Decorater report at bugs.python.org
Sat Jul 16 02:12:08 EDT 2016


Decorater added the comment:

Oh it does not happen if you use the asyncio.coroutine decorater but it does do RuntimeWarning if you use the async def on it.

----------
versions:  -Python 3.4

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27527>
_______________________________________


More information about the Python-bugs-list mailing list