LWN.net Logo

Python and ipaddr.py

Python and ipaddr.py

Posted Jun 23, 2009 12:59 UTC (Tue) by Baylink (subscriber, #755)
Parent article: Python and ipaddr.py

I'm going to have to go scan over the conversations on this topic, I guess. Treating a host IP as a /32 is pretty traditional in a lot of environments, though there's just as much justification for writing host addresses as the netmask of the network on which they reside, like so: 172.48.119.32/16.

And, on reflection, perhaps the interface to the library making it difficult to treat that as a host address is why it's annoying people.

Ah, well; Copious Free Time.


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds