summaryrefslogtreecommitdiff
path: root/Lib/email/Parser.py
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2001-10-04 16:27:04 +0000
committerBarry Warsaw <barry@python.org>2001-10-04 16:27:04 +0000
commit0e8427e4f2460ea0260b13bb375598063cc179c4 (patch)
tree3df8784af14eccfa526f302a7d06e92f0c40e1ed /Lib/email/Parser.py
parenta645b30294d9f712842da4aa196cbcdda06a7dcc (diff)
downloadcpython-git-0e8427e4f2460ea0260b13bb375598063cc179c4.tar.gz
Script arguments localhost:localport and remotehost:remoteport are now
optional, and default to `localhost' and ports 8025 and 25 respectively. SMTPChannel.__init__(): Calculate __fqdn using socket.getfqdn() instead of gethostby*() and friends. This allows us to run this script even if we don't have access to dns (assuming the localhost is configured properly). Also, restore my precious page breaks. Hands off, oh Whitespace Normalizer!
Diffstat (limited to 'Lib/email/Parser.py')
0 files changed, 0 insertions, 0 deletions