A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2009-August/091256.html below:

[Python-Dev] PEP 3144: IP Address Manipulation Library for the Python Standard Library

[Python-Dev] PEP 3144: IP Address Manipulation Library for the Python Standard Library [Python-Dev] PEP 3144: IP Address Manipulation Library for the Python Standard LibraryEric Smith eric at trueblade.com
Wed Aug 19 20:37:11 CEST 2009
Glyph Lefkowitz wrote:
> On Wed, Aug 19, 2009 at 2:20 PM, Eric Smith <eric at trueblade.com 
> <mailto:eric at trueblade.com>> wrote:
>  
> 
>     I think using .network and .broadcast are pretty well understood to
>     be the [0] and [-1] of the network address block. I don't think we
>     want to start creating new terms or access patterns here.
> 
>     +1 on leaving .network and .broadcast as-is (including returning a
>     IPvXAddress object).
> 
> 
> -1.  I think 'network.number' or 'network.zero' is a lot clearer than 
> 'network.network'.  Maybe '.broadcast' would be okay, as long as it 
> /can/ be adjusted for those unusual, or maybe even only hypothetical, 
> networks where it is not the [-1].

Is there some existing library that uses .number or .zero? IPy uses .net 
(and .broadcast for [-1]).

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4