-
-
Notifications
You must be signed in to change notification settings - Fork 30.4k
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 681 (@dataclass_transform) #91860
Comments
Copied from typing-extensions (python/typing#1054, python/typing#1120). Documentation is intentionally omitted, so we can focus on getting the runtime part in before the feature freeze.
Is there an intention to apply |
I haven't considered it. For performance reasons |
If it is decided to apply it in typeshed, the effect of the decorator (the |
I don't see any benefit to using |
Copied from typing-extensions (python/typing#1054, python/typing#1120). Documentation is intentionally omitted, so we can focus on getting the runtime part in before the feature freeze.
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
I think all work here has been done |
The SC has given the green light to implement PEP 681 in Python 3.11: https://mail.python.org/archives/list/typing-sig@python.org/thread/JWMSWJ6JZJNNG3JKPBYDMQUUHZFD2FZL/
I'll send a PR shortly to add the runtime implementation. As with PEP 655, I'll hold off on documentation to make sure we get the runtime code in before the feature freeze in a few weeks.
cc @debonte @erictraut
The text was updated successfully, but these errors were encountered: