[Python-Dev] PEP 3144: IP Address Manipulation Library for the Python Standard Library

Nick Coghlan ncoghlan at gmail.com
Fri Aug 28 11:31:16 CEST 2009


Peter Moody wrote:
> If there are any more suggestions on the PEP or the code, please let me know.

I noticed the new paragraphs on the IPv4 vs IPv6 types not being
comparable - is there a canonical ordering for mixed address lists
defined anywhere (e.g. an RFC)?

If there is, then it should be possible to implement that on BaseIP and
BaseNet so that comparisons work as canonically defined. If there isn't,
then that should be mentioned in the PEP as the reason why the PEP
deliberately isn't trying to invent a convention.

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
---------------------------------------------------------------


More information about the Python-Dev mailing list