Closed
Description
Bug report
Bug description:
The following properties on an IPv6Address
don't match their IPv4Address
counterparts when using an IPv6-mapped IPv4 address (ie ::ffff:<ipv4>
):
- is_multicast
- is_reserved
- is_link_local
- is_global
- is_unspecified
Proposed fix is to make all properties use their IPv4Address
values for IPv4-mapped addresses.
CPython versions tested on:
CPython main branch
Operating systems tested on:
No response
Linked PRs
- gh-122792: Make IPv4-mapped IPv6 address properties consistent with IPv4 #122793
- [3.12] gh-122792: Make IPv4-mapped IPv6 address properties consistent with IPv4 (GH-122793) #123814
- [3.13] gh-122792: Make IPv4-mapped IPv6 address properties consistent with IPv4 (GH-122793) #123815
- [3.11] gh-122792: Make IPv4-mapped IPv6 address properties consistent with IPv4 (GH-122793) #123818
- [3.10] gh-122792: Make IPv4-mapped IPv6 address properties consistent with IPv4 (GH-122793) #123819
- [3.9] gh-122792: Make IPv4-mapped IPv6 address properties consistent with IPv4 (GH-122793) (GH-123819) #127571