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@python
components: Documentation
messages: 230871
nosy: docs@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue22822>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to