[docs] [issue22822] IPv6Network constructor docs incorrect about valid input
Chris PeBenito
report at bugs.python.org
Sat Nov 8 18:43:49 CET 2014
New submission from Chris PeBenito:
Here:
https://docs.python.org/3/library/ipaddress.html#ipaddress.IPv6Network
In the constructor documentation, item 1 says:
"""
A string consisting of an IP address and an optional mask, separated by a slash (/). The IP address is the network address, and the mask can be either a single number, which means it’s a prefix, or a string representation of an IPv6 address. If it’s the latter, the mask is interpreted as a net mask. If no mask is provided, it’s considered to be /128.
For example, the following address specifications are equivalent: 2001:db00::0/24 and 2001:db00::0/ffff:ff00::.
"""
However in issue22800 it has been identified that using the expanded netmask (e.g. ff00::/ff00::) is not supported.
----------
assignee: docs at python
components: Documentation
messages: 230871
nosy: docs at python, pebenito
priority: normal
severity: normal
status: open
title: IPv6Network constructor docs incorrect about valid input
type: behavior
versions: Python 3.3, Python 3.4
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22822>
_______________________________________
More information about the docs
mailing list