Skip to content
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

Replace Iterator[T] with Generator[T,None, None] #11007

Merged
merged 3 commits into from
Apr 9, 2022
Merged

Conversation

q0w
Copy link
Contributor

@q0w q0w commented Apr 4, 2022

It seems, python/typeshed#7430 will be merged, so it would be more precise to use Generator for functions with @contextmanager decorator. For other cases it could be reverted if you want.

@uranusjr
Copy link
Member

uranusjr commented Apr 4, 2022

We need to fix the black-click thing first I guess.

@pradyunsg
Copy link
Member

There’s another open PR for that, with extra changes added in (#11008).

@github-actions github-actions bot added the needs rebase or merge PR has conflicts with current master label Apr 6, 2022
@pypa-bot pypa-bot removed the needs rebase or merge PR has conflicts with current master label Apr 6, 2022
@github-actions github-actions bot added the needs rebase or merge PR has conflicts with current master label Apr 8, 2022
@pypa-bot pypa-bot removed the needs rebase or merge PR has conflicts with current master label Apr 8, 2022
Co-authored-by: Tzu-ping Chung <uranusjr@gmail.com>
@pradyunsg pradyunsg merged commit 3820b0e into pypa:main Apr 9, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 25, 2022
@q0w q0w deleted the generators branch June 23, 2022 19:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants