The new async generator support as-is means that trio-asyncio no longer imports on 3.5 at all, when before it did. While the docs say it's not officially supported, it worked just fine. In particular, I am using it with PyPy, which seems to support some kind of weird mixture between 3.5 and 3.6, but mostly 3.5 and no async generator syntax.
Every trio user already has the async_generator module installed anyway, since it is a hard dependency of trio itself. I think it is therefore an easy decision to use it to bring back PyPy support.
The new async generator support as-is means that trio-asyncio no longer imports on 3.5 at all, when before it did. While the docs say it's not officially supported, it worked just fine. In particular, I am using it with PyPy, which seems to support some kind of weird mixture between 3.5 and 3.6, but mostly 3.5 and no async generator syntax.
Every trio user already has the
async_generator
module installed anyway, since it is a hard dependency of trio itself. I think it is therefore an easy decision to use it to bring back PyPy support.