A RetroSearch Logo

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

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2009-September/092149.html below:

[Python-Dev] PEP 3144 review.

[Python-Dev] PEP 3144 review. [Python-Dev] PEP 3144 review.Antoine Pitrou solipsis at pitrou.net
Sun Sep 27 20:17:34 CEST 2009
Peter Moody <peter <at> hda3.com> writes:
> 
> > (or would you argue that Address objects should have an optional 
distinguishing
> > port number, for "convenience" reasons?)
> 
> I'm not sure what you're talking about, I've never argued to add layer
> 4 information to ipaddr.

It was an analogy, just like your "float" analogy.

> I'm not sure what annoys you about this.

I have already explained it: what annoys me is that it makes `Network` a hybrid
object conflating two independent concepts, and makes the library less
understandable as a result.

Others have already pointed out that it makes operations like equality
confusing. 

Regards

Antoine.


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