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 | ncogh...@gmail.com | Brisbane, Australia --------------------------------------------------------------- _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com