Closed keith923 closed 8 years ago
Rather than forcing you to read that entire PEP, which I still haven't, I can tell you that this should boil down to replacing @coroutine
or @asyncio.coroutine
with async def
and yield from
with await
.
We'll need to make sure that we are bootstrapping Python 3.5, as that's the minimum version for this syntax.
Also, with the new syntax, it's unnecessary to import asyncio if you are just using coroutine.
@keith923 should I make these changes to the other plugins?
Complete!
Whoops -- spoke too soon. Something is wrong with this and the CI is complaining. I should have run the unit testes before committing. Sigh.
I've stopped flagellating myself. Turns out that Travis is not using Python 3.5. Hopefully that can be fixed.
Simple update to travis config file.
We should switch to the new syntax.