Skip to content

Add support for PEP 525 -- Asynchronous Generators #2616

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
dbrattli opened this issue Dec 28, 2016 · 3 comments · Fixed by #2711
Closed

Add support for PEP 525 -- Asynchronous Generators #2616

dbrattli opened this issue Dec 28, 2016 · 3 comments · Fixed by #2711

Comments

@dbrattli
Copy link

Mypy (0.4.6) gives error: 'yield' in async function, even when specifying Python version as 3.6.

@ambv
Copy link
Contributor

ambv commented Dec 28, 2016

I can confirm this is a problem with master, too, ran with --fast-parser --python=3.6.

@JelleZijlstra
Copy link
Member

I submitted pull requests to typing, typeshed, and CPython for some of the supporting infrastructure (python/typing#346, python/typeshed#815, http://bugs.python.org/issue29198) and I started working on implementing this in mypy, but it may take a little while longer for me to finish the patch.

@brettcannon
Copy link
Member

Due to this not making it into 0.501, it might be good to weaken the wording on the "supports Python 3.6 features by default" on the site as I read that to mean all features instead of some features.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants