Xiang Zhang added the comment:

See the doc: 
https://docs.python.org/3/library/ipaddress.html#ipaddress.IPv4Network.hosts. 
For hosts() method, network address and broadcast address are excluded from the 
result. So it's right IPv4Address('192.168.0.0') and 
IPv4Address('192.168.1.255') are not included.

----------
nosy: +xiang.zhang
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue30407>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to