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/2000-August/008284.html below:

[Python-Dev] 2nd thought: fully qualified host names

[Python-Dev] 2nd thought: fully qualified host names [Python-Dev] 2nd thought: fully qualified host namesBarry A. Warsaw bwarsaw@beopen.com
Mon, 14 Aug 2000 10:13:21 -0400 (EDT)
>>>>> "TW" == Thomas Wouters <thomas@xs4all.net> writes:

    TW> Fine, the patch addresses that. When the hostname passed to
    TW> smtplib is "" (which is the default), it should be turned into
    TW> a FQDN. I agree. However, if someone passed in a name, we do
    TW> not know if they even *want* the name turned into a FQDN. In
    TW> the face of ambiguity, refuse the temptation to guess.

Just to weigh in after the fact, I agree with Thomas.  All this stuff
is primarily there to generate something sane for the default empty
string argument.  If the library client passes in their own name,
smtplib.py should use that as given.

-Barry



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