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

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


Decorater added the comment:

So to make it Error it must be :

import asyncio

async def SomeCoroutine():
    print("test...")

SomeCoroutine()

----------

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


More information about the Python-bugs-list mailing list