[Python-Dev] _socket efficiencies ideas

"Martin v. L÷wis" martin@v.loewis.de
Wed, 09 Apr 2003 20:59:56 +0200

Skip Montanaro wrote:

> Can a top-level domain be all digits? 

It appears nobody here can answer this question with certainty. If the 
answer is "no", it is surprising that getaddrinfo implementations still 
make resolver calls in this case even if they are sure that those 
resolver calls fail. One would hope that people writing socket libraries 
should no the answer.