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
[3.9] bpo-45520: Backport __getstate__, __setstate__ methods for dataclasses
from 3.10 into 3.9 (GH-25786)
#29147
Conversation
__getstate__
, __setstate__
methods from 3.10 into 3.9
I'll toggle this PR once again after all other tests pass, because Azure seems to be broken for some unrelated reason. |
It now passes! I've also created https://bugs.python.org/issue45566 to sync the |
Refs #29147 Automerge-Triggered-By: GH:ericvsmith
…GH-29150) Refs python#29147 Automerge-Triggered-By: GH:ericvsmith (cherry picked from commit 07236d5) Co-authored-by: Nikita Sobolev <[email protected]>
Refs #29147 Automerge-Triggered-By: GH:ericvsmith (cherry picked from commit 07236d5) Co-authored-by: Nikita Sobolev <[email protected]>
Friendly ping @ericvsmith |
This PR is stale because it has been open for 30 days with no activity. |
Please mention dataclasses in the PR title |
dataclasses
from 3.10 into 3.9 (GH-25786)
@sobolevn sorry for the really long delay (I dropped the ball on this notification for a month). Unfortunately I have to admit I'm clueless at pickle so I can't review this. |
@Fidget-Spinner no worries, thanks for your work! This is a backport of a bugfix from CC @JelleZijlstra as the original reviewer |
Since dataclasses only gained native slot support in 3.10, it doesn't seem important to apply this fix to 3.9. (It affects people who set I'll leave the decision to @ericvsmith though. |
We're releasing the last bugfix release of 3.9 today and this PR's been stale for a while. Sadly it's a wontfix now. |
Refs 823fbf4
https://bugs.python.org/issue45520