[Python-Dev] PEP 3144 review. (original) (raw)

Greg Ewing greg.ewing at canterbury.ac.nz
Mon Sep 28 03:01:21 CEST 2009


Nick Coghlan wrote:

The use case for "given a netmask and an arbitrary host on that network, give me the appropriate IPNetwork object" has been well established by this discussion (although still isn't particularly well described even in the latest PEP update). This is what "strict=False" covers,

I think I'd rather have a separate constructor function or method for this, rather than a somewhat cryptically named boolean parameter.

-- Greg



More information about the Python-Dev mailing list