Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.3k
[3.9] bpo-45520: Backport __getstate__, __setstate__ methods fordataclasses from 3.10 into 3.9 (GH-25786)#29147
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
__getstate__,__setstate__ methods from 3.10 into 3.9sobolevn commentedOct 22, 2021 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
I'll toggle this PR once again after all other tests pass, because Azure seems to be broken for some unrelated reason. |
sobolevn commentedOct 22, 2021
It now passes! I've also createdhttps://bugs.python.org/issue45566 to sync the |
Refs#29147Automerge-Triggered-By: GH:ericvsmith
…GH-29150)Refspython#29147Automerge-Triggered-By: GH:ericvsmith(cherry picked from commit07236d5)Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
sobolevn commentedOct 29, 2021
Friendly ping@ericvsmith 🙂 |
This PR is stale because it has been open for 30 days with no activity. |
sobolevn commentedNov 29, 2021
merwok commentedJan 2, 2022
Please mention dataclasses in the PR title |
dataclasses from 3.10 into 3.9 (GH-25786)Fidget-Spinner commentedJan 12, 2022
@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. |
sobolevn commentedJan 12, 2022 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
@Fidget-Spinner no worries, thanks for your work! This is a backport of a bugfix from CC@JelleZijlstra as the original reviewer 🙂 |
JelleZijlstra commentedFeb 23, 2022
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. |
MaxwellDupre left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Ran 175 tests in 1.202s
OK
Looks reasonable.
ambv commentedMay 16, 2022
We're releasing the last bugfix release of 3.9 today and this PR's been stale for a while. Sadly it's awontfix now. |
Uh oh!
There was an error while loading.Please reload this page.
Refs823fbf4
https://bugs.python.org/issue45520