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

Nick Coghlan ncoghlan at gmail.com
Thu Sep 17 23:48:09 CEST 2009


Eric Smith wrote:

Peter Moody wrote:

indexing is plenty efficient, but the problem is that these names for these attributes are common to the point of causing confusion if they're omitted. After thinking about it some more, I'm okay with names for [-1] and [0]. I like .broadcast, and I can live with .network (although it's confusing, since in my view it should return an address, not a network).

And in fact does return an Address - the same address that my_net[0] returns.

Cheers, Nick.

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



More information about the Python-Dev mailing list