[Python-Dev] PEP 3144 review.

Eric Smith eric at trueblade.com
Sat Sep 19 12:54:36 CEST 2009


Cameron Simpson wrote:
> On 18Sep2009 07:48, Nick Coghlan <ncoghlan at gmail.com> wrote:
> | 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.
> 
> Yes, I think Eric was complaining about the name being "network", since
> we have Network objects and this isn't one.

Right. thing_commonly_referred_to_as_network_but_is_an_address.



More information about the Python-Dev mailing list