After sleeping over it, I noticed that at least BaseHTTPServer and ftplib also use a similar algorithm to get a fully qualified domain name. Together with smtplib there are four occurences of the algorithm (2 in BaseHTTPServer). I think it would be good not to have four, but one implementation. First I thought it could be socket.get_fqdn(), but it seems a bit troublesome to write it in C. Should this go somewhere? If yes, where should it go? I'll happily prepare a patch as soon as I know where to put it. Peter -- Peter Schneider-Kamp ++47-7388-7331 Herman Krags veg 51-11 mailto:peter@schneider-kamp.de N-7050 Trondheim http://schneider-kamp.de
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