Skip to content

Use async_generator module for 3.5 support.#17

Merged
smurfix merged 2 commits intopython-trio:masterfrom
miracle2k:asyncgen
Mar 26, 2018
Merged

Use async_generator module for 3.5 support.#17
smurfix merged 2 commits intopython-trio:masterfrom
miracle2k:asyncgen

Conversation

@miracle2k
Copy link
Copy Markdown
Contributor

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.

smurfix added a commit that referenced this pull request Mar 26, 2018
@smurfix smurfix merged commit 623dbb1 into python-trio:master Mar 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants