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 Вячеслав
Recipients m01, ncoghlan, pmoody, python-dev, r.david.murray, Вячеслав
Date 2014-11-15.21:33:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1416087205.38.0.812521227106.issue22876@psf.upfronthosting.co.za>
In-reply-to
Content
These addresses are used by each interface in the network and they can not be the address of the interface, of course have the technology ip-unnumbered. But it's more a special case.

but I was confused behavior:

>>> set(ip_network(u'192.168.1.0/29'))
set([IPv4Address(u'192.168.1.5'), IPv4Address(u'192.168.1.6'), IPv4Address(u'192.168.1.7'), IPv4Address(u'192.168.1.2'), IPv4Address(u'192.168.1.3'), IPv4Address(u'192.168.1.4'), IPv4Address(u'192.168.1.0'), IPv4Address(u'192.168.1.1')])


>>> for i in ip_network(u'192.168.1.0/29').hosts():
...     print i
...
192.168.1.1
192.168.1.2
192.168.1.3
192.168.1.4
192.168.1.5
192.168.1.6
History
Date User Action Args
2014-11-15 21:33:25Вячеславsetrecipients: + Вячеслав, ncoghlan, pmoody, r.david.murray, python-dev, m01
2014-11-15 21:33:25Вячеславsetmessageid: <1416087205.38.0.812521227106.issue22876@psf.upfronthosting.co.za>
2014-11-15 21:33:25Вячеславlinkissue22876 messages
2014-11-15 21:33:25Вячеславcreate