-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
gh-106107: document correct error that's raised when a mutable default value for a field is detected #106109
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
Conversation
Thanks @rschupp for the PR, and @ericvsmith for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12. |
…default value for a field is detected (pythongh-106109) (cherry picked from commit 512f299) Co-authored-by: Roderich Schupp <[email protected]>
GH-106115 is a backport of this pull request to the 3.12 branch. |
…default value for a field is detected (pythongh-106109) (cherry picked from commit 512f299) Co-authored-by: Roderich Schupp <[email protected]>
GH-106116 is a backport of this pull request to the 3.11 branch. |
Thanks @rschupp for the PR, and @ericvsmith for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11. |
Thanks @rschupp for the PR, and @ericvsmith for merging it 🌮🎉.. I'm working now to backport this PR to: 3.10. |
Thanks @rschupp for the PR, and @ericvsmith for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12. |
Sorry, @rschupp and @ericvsmith, I could not cleanly backport this to |
Sorry, @rschupp and @ericvsmith, I could not cleanly backport this to |
Sorry, @rschupp and @ericvsmith, I could not cleanly backport this to |
Apparently, 3.10 never got its backport (but I'm still removing its label) |
Note that incorrect documentation is present in all python versions since the implementation of dataclasses (in 3.7)
📚 Documentation preview 📚: https://cpython-previews--106109.org.readthedocs.build/