On Tue, 15 Sep 2009 at 14:28, Antoine Pitrou wrote: > Andrew McNamara <andrewm <at> object-craft.com.au> writes: >> >> >>> ipaddr.IPv4Network('192.168.1.1/16').network >> IPv4Address('192.168.0.0') > > Er, does this mean that taking the `network` attribute from a network object > actually gives an address object (not a network)? > It looks horribly misleading to me. That was my opinion, too. I've always called that number the 'zero' of the network, but other people said that it is usually called the 'network'. I also find it odd to see a 'network' with an IP address of 192.168.1.1. That looks like a host-address-plus-netmask to me, not a network address. --David
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4