summaryrefslogtreecommitdiffstats
path: root/Include/Python.h
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2001-10-04 16:27:04 (GMT)
committerBarry Warsaw <barry@python.org>2001-10-04 16:27:04 (GMT)
commit0e8427e4f2460ea0260b13bb375598063cc179c4 (patch)
tree3df8784af14eccfa526f302a7d06e92f0c40e1ed /Include/Python.h
parenta645b30294d9f712842da4aa196cbcdda06a7dcc (diff)
downloadcpython-0e8427e4f2460ea0260b13bb375598063cc179c4.zip
cpython-0e8427e4f2460ea0260b13bb375598063cc179c4.tar.gz
cpython-0e8427e4f2460ea0260b13bb375598063cc179c4.tar.bz2
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 'Include/Python.h')
0 files changed, 0 insertions, 0 deletions