classification
Title: wrong IP address range given for ipv4_mapped
Type: behavior Stage:
Components: Documentation Versions: Python 3.10, Python 3.9, Python 3.8, Python 3.7, Python 3.6
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: docs@python Nosy List: alwhaley, docs@python
Priority: normal Keywords:

Created on 2021-01-30 22:17 by alwhaley, last changed 2021-01-30 22:17 by alwhaley.

Messages (1)
msg385999 - (view) Author: Al (alwhaley) Date: 2021-01-30 22:17
https://docs.python.org/3.9/library/ipaddress.html

This documentation for the 'ipaddress' IPv4/IPv6 Manipulation Library incorrectly states the address range for 'ipv4_mapped' as ::FFFF/96 (which means 0:0:0:0:0:0:0:FFFF/96).  This is just flat out wrong.  There are some websites out there, e.g. APNIC, that also have this error.

The correct address range can be expressed by any of the following methods:
1) 0:0:0:0:0:FFFF:0:0/96
2) ::FFFF:0:0/96
3) 0:0:0:0:0:FFFF::/96
History
Date User Action Args
2021-01-30 22:17:20alwhaleycreate