-
-
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
gh-110196: Fix ipaddress.IPv6Address.__reduce__ #110198
gh-110196: Fix ipaddress.IPv6Address.__reduce__ #110198
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.
Maybe also update pickle_test
to check for some attrs?
Makes sense! Test added. |
@gpshead not sure who I should ask for the review. You have reviewed changes to this file a couple of times, could you take a look at this? Thanks. |
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.
LGTM.
Thanks @gaogaotiantian for the PR, and @serhiy-storchaka for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11. |
Thanks @gaogaotiantian for the PR, and @serhiy-storchaka for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12. |
(cherry picked from commit 767f416) Co-authored-by: Tian Gao <gaogaotiantian@hotmail.com>
(cherry picked from commit 767f416) Co-authored-by: Tian Gao <gaogaotiantian@hotmail.com>
GH-111190 is a backport of this pull request to the 3.11 branch. |
GH-111191 is a backport of this pull request to the 3.12 branch. |
IPv6Address
should keepscope_id
. Inheriting__reduce__
from_BaseAddress
will only keep the ip address.