-
-
Notifications
You must be signed in to change notification settings - Fork 31.8k
gh-110267: Add tests for pickling and copying PyStructSequence objects #110272
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
gh-110267: Add tests for pickling and copying PyStructSequence objects #110272
Conversation
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.
Thank you @XuehaiPan. I added a style nitpick, and I think that explicit tests for __reduce__()
are no longer needed. It is an implementation detail, rarely tested explicitly.
Thanks @XuehaiPan for the PR, and @serhiy-storchaka for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11. |
Thanks @XuehaiPan for the PR, and @serhiy-storchaka for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12. |
…objects (pythonGH-110272) (cherry picked from commit 2d4865d) Co-authored-by: Xuehai Pan <XuehaiPan@pku.edu.cn>
GH-110284 is a backport of this pull request to the 3.11 branch. |
…objects (pythonGH-110272) (cherry picked from commit 2d4865d) Co-authored-by: Xuehai Pan <XuehaiPan@pku.edu.cn>
GH-110285 is a backport of this pull request to the 3.12 branch. |
Resolves #110267