[issue43633] Improve the textual representation of IPv4-mapped IPv6 addresses

2021-11-01 Thread Oleksandr Pavliuk
Oleksandr Pavliuk added the comment: @maxmouchet, thank you for creating the issue. For me it makes sense, and RFC 4291 calls such IPv6 text representation approach as "more convenient". I'll try to fix this, if you don't mind. P.S.: Sorry for providing PR before I asked. --

[issue43633] Improve the textual representation of IPv4-mapped IPv6 addresses

2021-10-31 Thread Oleksandr Pavliuk
Change by Oleksandr Pavliuk : -- keywords: +patch nosy: +opavlyuk nosy_count: 1.0 -> 2.0 pull_requests: +27610 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29345 ___ Python tracker

[issue43633] Improve the textual representation of IPv4-mapped IPv6 addresses

2021-03-26 Thread Maxime Mouchet
New submission from Maxime Mouchet : Python supports IPv4-mapped IPv6 addresses as defined by RFC 4038: "the IPv6 address :::x.y.z.w represents the IPv4 address x.y.z.w.” The current behavior is as follows: from ipaddress import ip_address addr = ip_address(':::8.8.4.4') #