This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author out
Recipients out
Date 2016-02-29.06:29:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1456727384.52.0.87644034474.issue26457@psf.upfronthosting.co.za>
In-reply-to
Content
when i read in document 3.5.1,run the example in ipaddress.address_exclude function 

>>> n1 = ip_network('192.0.2.0/28')
>>> n2 = ip_network('192.0.2.1/32')
>>> list(n1.address_exclude(n2))  

I got:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Python 3.5\lib\ipaddress.py", line 794, in address_exclude
    s1, s2 = s1.subnets()
ValueError: not enough values to unpack (expected 2, got 1)
History
Date User Action Args
2016-02-29 06:29:44outsetrecipients: + out
2016-02-29 06:29:44outsetmessageid: <1456727384.52.0.87644034474.issue26457@psf.upfronthosting.co.za>
2016-02-29 06:29:44outlinkissue26457 messages
2016-02-29 06:29:44outcreate