asyncio.coroutine is deprecated in Python 3.8 and will be removed in 3.10.
acetylen opened this issue · comments
The docs recommend using async def
instead.
There's an ancient patch to do this but it was reverted because, surprise, it killed Python 3.4 compatiblity.
I reapplied it in my distmqtt
fork.
Addressed in #226