New submission from Stanislav Syekirin :
https://docs.python.org/3.10/library/asyncio-task.html#generator-based-coroutines
This page says about asyncio.coroutine:
Deprecated since version 3.8, removed in version 3.10
However, asyncio.coroutine is still working in 3.10 and has been
New submission from Stanislav Syekirin :
Tested with Python 3.10.1 on Linux and Python 3.10.0 on Windows.
The following code prints None in 3.9 and raises StopIteration without any
additional information in 3.10:
def f():
yield
x = f()
try:
x.send(0