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

Implement PEP 696 (Type parameter defaults) #116126

Closed
3 tasks
JelleZijlstra opened this issue Feb 29, 2024 · 0 comments
Closed
3 tasks

Implement PEP 696 (Type parameter defaults) #116126

JelleZijlstra opened this issue Feb 29, 2024 · 0 comments
Labels
3.13 bugs and security fixes topic-typing type-feature A feature request or enhancement

Comments

@JelleZijlstra
Copy link
Member

JelleZijlstra commented Feb 29, 2024

Feature or enhancement

Implement PEP-696, which was just accepted.

Off the top of my head, we'll need the following:

  • Grammar changes
  • Changes in typing.py to type parameter application logic
  • Documentation

I'll work on the first one but contributions on the other two are appreciated. The implementation in typing-extensions can serve as an inspiration.

cc @Gobot1234

Linked PRs

@JelleZijlstra JelleZijlstra added type-feature A feature request or enhancement topic-typing 3.13 bugs and security fixes labels Feb 29, 2024
@JelleZijlstra JelleZijlstra changed the title Implement PEP 696 Implement PEP 696 (Type parameter defaults) Feb 29, 2024
JelleZijlstra added a commit to JelleZijlstra/cpython that referenced this issue Feb 29, 2024
JelleZijlstra added a commit that referenced this issue May 3, 2024
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
SonicField pushed a commit to SonicField/cpython that referenced this issue May 8, 2024
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
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 type-feature A feature request or enhancement
Projects
None yet
Development

No branches or pull requests

1 participant