[Python-Dev] PEP 3144 review.

Antoine Pitrou solipsis at pitrou.net
Tue Sep 15 16:28:13 CEST 2009


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.





More information about the Python-Dev mailing list