mirror of https://github.com/python/cpython
multiprocessing/connection.py patch to remove fqdn oddness for issue 3270
This commit is contained in:
parent
d0c841243c
commit
9ace15ca25
|
@ -215,10 +215,6 @@ class SocketListener(object):
|
|||
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._family = family
|
||||
self._last_accepted = None
|
||||
|
||||
|
|
Loading…
Reference in New Issue