[Python-Dev] PEP 3144 review.

Cameron Simpson cs at zip.com.au
Sat Sep 19 12:52:28 CEST 2009


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.
-- 
Cameron Simpson <cs at zip.com.au> DoD#743
http://www.cskk.ezoshosting.com/cs/


More information about the Python-Dev mailing list