Skip to content

make GeneratorType inherit from Generator #5474

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

Merged
merged 3 commits into from
May 18, 2021

Conversation

JelleZijlstra
Copy link
Member

@JelleZijlstra JelleZijlstra commented May 16, 2021

Fixes #5496

@JelleZijlstra
Copy link
Member Author

This will cause an error when combined with #5473 I believe. I'm hoping for that one to be merged first and then fix any fallout in this PR.

@JelleZijlstra
Copy link
Member Author

Actually the other PR is going to be blocked by a change in mypy, so let's try to land this first. I'll mark it as non-draft once CI passes.

@github-actions
Copy link
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@JelleZijlstra JelleZijlstra marked this pull request as ready for review May 18, 2021 20:25
@JelleZijlstra JelleZijlstra merged commit bce19fc into python:master May 18, 2021
@JelleZijlstra JelleZijlstra deleted the gentype branch May 18, 2021 20:31
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.

No Generator is considered to be an instance of GeneratorType
2 participants