Skip to content
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

Add ipv6_mapped property to IPv4Address #109466

Closed
csm10495 opened this issue Sep 15, 2023 · 0 comments · Fixed by #109467
Closed

Add ipv6_mapped property to IPv4Address #109466

csm10495 opened this issue Sep 15, 2023 · 0 comments · Fixed by #109467
Assignees
Labels
3.13 bugs and security fixes type-feature A feature request or enhancement

Comments

@csm10495
Copy link
Contributor

csm10495 commented Sep 15, 2023

Feature or enhancement

Proposal:

Proposing a ipv6_mapped property for IPv4Address. This is the other direction of the ipv4_mapped property that already exists in IPv6Address. This can be useful if you need an ipv6 representation for an ipv4 address.

Has this already been discussed elsewhere?

I have already discussed this feature proposal on Discourse

Links to previous discussion of this feature:

https://discuss.python.org/t/ipv4-to-ipv6-mapped-address/31464

Linked PRs

@csm10495 csm10495 added the type-feature A feature request or enhancement label Sep 15, 2023
@gpshead gpshead added the 3.13 bugs and security fixes label Nov 5, 2023
@gpshead gpshead self-assigned this Nov 5, 2023
gpshead pushed a commit that referenced this issue Nov 5, 2023
Adds the `IPv4Address.ipv6_mapped` property.

Co-authored-by: Hugo van Kemenade <[email protected]>
aisk pushed a commit to aisk/cpython that referenced this issue Feb 11, 2024
Adds the `IPv4Address.ipv6_mapped` property.

Co-authored-by: Hugo van Kemenade <[email protected]>
Glyphack pushed a commit to Glyphack/cpython that referenced this issue Sep 2, 2024
Adds the `IPv4Address.ipv6_mapped` property.

Co-authored-by: Hugo van Kemenade <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.13 bugs and security fixes type-feature A feature request or enhancement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants