diff options
author | opavliuk <40970635+opavlyuk@users.noreply.github.com> | 2023-07-31 14:33:26 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-31 14:33:26 (GMT) |
commit | f22bf8e3cf899896cf587099d29290cb43aa9724 (patch) | |
tree | 59a8de0bcb07417bbe27a10d5613eac14d734c55 /Misc | |
parent | 520efecfc3aed34d3a44545c7cd872d1aea8c7dc (diff) | |
download | cpython-f22bf8e3cf899896cf587099d29290cb43aa9724.zip cpython-f22bf8e3cf899896cf587099d29290cb43aa9724.tar.gz cpython-f22bf8e3cf899896cf587099d29290cb43aa9724.tar.bz2 |
gh-87799: Improve the textual representation of IPv4-mapped IPv6 addresses (#29345)
Represent IPv4-mapped IPv6 address as x:x:x:x:x:x:d.d.d.d,
where the 'x's are the hexadecimal values
of the six high-order 16-bit pieces of the address,
and the 'd's are the decimal values
of the four low-order 8-bit pieces of the address
(standard IPv4 representation).
---------
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2021-10-31-16-06-28.bpo-43633.vflwXv.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2021-10-31-16-06-28.bpo-43633.vflwXv.rst b/Misc/NEWS.d/next/Library/2021-10-31-16-06-28.bpo-43633.vflwXv.rst new file mode 100644 index 0000000..025de1e --- /dev/null +++ b/Misc/NEWS.d/next/Library/2021-10-31-16-06-28.bpo-43633.vflwXv.rst @@ -0,0 +1 @@ +Improve the textual representation of IPv4-mapped IPv6 addresses (:rfc:`4291` Sections 2.2, 2.5.5.2) in :mod:`ipaddress`. Patch by Oleksandr Pavliuk.
|