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

Add TypeVar defaults for Generator and AsyncGenerator #118647

Closed
JelleZijlstra opened this issue May 6, 2024 · 1 comment
Closed

Add TypeVar defaults for Generator and AsyncGenerator #118647

JelleZijlstra opened this issue May 6, 2024 · 1 comment
Assignees
Labels
3.13 bugs and security fixes topic-typing

Comments

@JelleZijlstra
Copy link
Member

JelleZijlstra commented May 6, 2024

Now that PEP 696 has landed, we should add defaults to the Generator and AsyncGenerator types for the send and return types.

cc @Gobot1234 @Daverball (python/typeshed#11867 (comment))

Linked PRs

@JelleZijlstra JelleZijlstra added topic-typing 3.13 bugs and security fixes labels May 6, 2024
@JelleZijlstra JelleZijlstra self-assigned this May 6, 2024
@Gobot1234
Copy link
Contributor

#110212 seems related as well

JelleZijlstra added a commit to JelleZijlstra/cpython that referenced this issue May 6, 2024
JelleZijlstra added a commit that referenced this issue May 6, 2024
…#118648)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
SonicField pushed a commit to SonicField/cpython that referenced this issue May 8, 2024
…erator (python#118648)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.13 bugs and security fixes topic-typing
Projects
None yet
Development

No branches or pull requests

2 participants