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/034413.html below:

[Python-Dev] _socket efficiencies ideas

[Python-Dev] _socket efficiencies ideas [Python-Dev] _socket efficiencies ideasAnthony Baxter Anthony Baxter <anthony@interlink.com.au>
Thu, 10 Apr 2003 00:24:45 +1000
>>> Sean Reifschneider wrote 
> My first thought is that there should be a local DNS cache on the
> machine that is running these apps.  My second thought is that Python
> could benefit from caching some lookup information...

Ick ick. This is putting a bunch of code for a stub resolver into python.
This stuff is hard to get right - I implemented this on top of pydns, and
it was a lot of work to get (what I think is) correct, for not very much
gain.

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?

Anthony

-- 
Anthony Baxter     <anthony@interlink.com.au>   
It's never too late to have a happy childhood.




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