Skip to content

Remove typing.AwaitableGenerator #3932

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
hauntsaninja opened this issue Apr 21, 2020 · 2 comments
Closed

Remove typing.AwaitableGenerator #3932

hauntsaninja opened this issue Apr 21, 2020 · 2 comments

Comments

@hauntsaninja
Copy link
Collaborator

hauntsaninja commented Apr 21, 2020

As mentioned in the code, AwaitableGenerator doesn't exist in typing.py or PEP 484.

# NOTE: This type does not exist in typing.py or PEP 484.

It appears it's an "intentionally undocumented" implementation detail of mypy, as mentioned in python/mypy#2907. Ideally, these shouldn't leak into typeshed. I've created issue python/mypy#8699 in mypy, since that's where action needs to be taken first, but keeping an issue here for tracking.

@hauntsaninja
Copy link
Collaborator Author

Similar to #3556 and #2999

@AlexWaygood
Copy link
Member

I'm closing this as we now have #7580, and I don't think we need both issues to be open when they're about the same thing.

@AlexWaygood AlexWaygood closed this as not planned Won't fix, can't repro, duplicate, stale Jun 12, 2022
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

No branches or pull requests

2 participants