Message270539
I am thinking like this example:
import asyncio
@asyncio.coroutine
def SomeCoroutine():
print("test...")
@asyncio.coroutine
def SomeNormalFunction():
SomeCoroutine()
Will print a warning instead I would like it to be a SyntaxError when the function is called that tries to call a coroutine that has not been yielded/awaited at all. |
|
Date |
User |
Action |
Args |
2016-07-16 05:21:19 | Decorater | set | recipients:
+ Decorater, paul.moore, tim.golden, zach.ware, steve.dower |
2016-07-16 05:21:19 | Decorater | set | messageid: <1468646479.26.0.293917004749.issue27527@psf.upfronthosting.co.za> |
2016-07-16 05:21:19 | Decorater | link | issue27527 messages |
2016-07-16 05:21:19 | Decorater | create | |
|