[issue22822] IPv6Network constructor docs incorrect about valid input

2018-03-07 Thread Xiang Zhang

Change by Xiang Zhang :


--
resolution:  -> duplicate
stage:  -> resolved
status: open -> closed
superseder:  -> ipaddress documentation errors

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue22822] IPv6Network constructor docs incorrect about valid input

2016-06-10 Thread Berker Peksag

Berker Peksag added the comment:

Thanks for the report Chris. The patch in issue 18802 should solve this. It 
would be great if you'd have time to take a look at it (should we add a note 
that says we only support CIDR for IPv6?)

--
nosy: +berker.peksag

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue22822] IPv6Network constructor docs incorrect about valid input

2014-11-14 Thread Terry J. Reedy

Changes by Terry J. Reedy tjre...@udel.edu:


--
nosy: +ncoghlan, pmoody

___
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



[issue22822] IPv6Network constructor docs incorrect about valid input

2014-11-08 Thread Chris PeBenito

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/: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