[Python-Dev] PEP 3144: IP Address Manipulation Library for the Python Standard Library
Nick Coghlan
ncoghlan at gmail.com
Thu Aug 20 15:39:17 CEST 2009
Peter Moody wrote:
> while not the the prettiest, you can already (ignoring the set_prefix)
> do something like:
>
>>>> newobject = ipaddr.IP(str(o.network) + "/new prefix")
>
> Is this sufficient?
At this point, that is probably fine. If it comes up often enough to be
worth providing a cleaner interface then it is easier to add that later.
Cheers,
Nick.
--
Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia
---------------------------------------------------------------
More information about the Python-Dev
mailing list