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

Update TypedDict to match updated PEP-728 #511

Open
mharding-hpe opened this issue Nov 22, 2024 · 2 comments
Open

Update TypedDict to match updated PEP-728 #511

mharding-hpe opened this issue Nov 22, 2024 · 2 comments

Comments

@mharding-hpe
Copy link

typing_extensions 4.10 added support for PEP-728. However, the PEP was updated last month to change how it is being implemented. Instead of the __extra_items__ class attribute, it now is using the extra_items class parameter. It would be good to make the corresponding change in typing_extensions, to match the updated PEP-728.

@JelleZijlstra
Copy link
Member

I started working on this but I'm not sure I'm happy with the runtime behavior proposed in the current version of the PEP, and there was some more talk on Discuss about possible alternative spellings. I'll look at it again when I find some time.

@mharding-hpe
Copy link
Author

Thank you -- much appreciated. I am eagerly awaiting this new feature, in whatever form it finally arrives. :)

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