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/2003-April/034446.html below:

[Python-Dev] _socket efficiencies ideas

[Python-Dev] _socket efficiencies ideasGreg Ewing greg@cosc.canterbury.ac.nz
Thu, 10 Apr 2003 12:31:34 +1200 (NZST)
Anthony Baxter <anthony@interlink.com.au>:

> The idea of either suppressing DNS lookups for all-numeric addresses, or
> some sort of extended API for suppressing DNS lookups might be better,
> but really, isn't this the job of the stub resolver?

Seems to me the basic problem is that we're representing
to completely different things -- a DNS name and a raw
IP address -- the same way, i.e. as a string.

A raw IP address should (at least optionally) be represented 
by something different, such as a tuple of ints.

Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
greg@cosc.canterbury.ac.nz	   +--------------------------------------+



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