summaryrefslogtreecommitdiffstats
path: root/Lib/mailbox.py
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>1997-01-13 19:35:39 (GMT)
committerBarry Warsaw <barry@python.org>1997-01-13 19:35:39 (GMT)
commitdbfb8d46260e29d2ca3068174aeeadced057b5fe (patch)
tree562e5f7ed48d557d8b6331c8f67f45419bdb5c32 /Lib/mailbox.py
parentd08735a54b8aa249482d028a6d998bd9a08ad957 (diff)
downloadcpython-dbfb8d46260e29d2ca3068174aeeadced057b5fe.zip
cpython-dbfb8d46260e29d2ca3068174aeeadced057b5fe.tar.gz
cpython-dbfb8d46260e29d2ca3068174aeeadced057b5fe.tar.bz2
Rewrite the `hostname mismatch' test as per GvR suggestion.
Don't assume gethostbyaddr()'s primary hostname is the same as gethostname(), or even that gethostname() can be found in the list of hosts returned by gethostbyaddr(). We do test for at least one FQDN in gethostbyaddr().
Diffstat (limited to 'Lib/mailbox.py')
0 files changed, 0 insertions, 0 deletions