[Python-checkins] r65641 - python/trunk/Lib/multiprocessing/connection.py

jesse.noller python-checkins at python.org
Mon Aug 11 16:28:07 CEST 2008


Author: jesse.noller
Date: Mon Aug 11 16:28:07 2008
New Revision: 65641

Log:
Remove the fqdn call for issue 3270


Modified:
   python/trunk/Lib/multiprocessing/connection.py

Modified: python/trunk/Lib/multiprocessing/connection.py
==============================================================================
--- python/trunk/Lib/multiprocessing/connection.py	(original)
+++ python/trunk/Lib/multiprocessing/connection.py	Mon Aug 11 16:28:07 2008
@@ -215,10 +215,7 @@
         self._socket = socket.socket(getattr(socket, family))
         self._socket.bind(address)
         self._socket.listen(backlog)
-        address = self._socket.getsockname()
-        if type(address) is tuple:
-            address = (socket.getfqdn(address[0]),) + address[1:]
-        self._address = address
+        self._address = self._socket.getsockname()
         self._family = family
         self._last_accepted = None
 


More information about the Python-checkins mailing list