From efb1d0a3c001a6153211063ba439b9847aa03509 Mon Sep 17 00:00:00 2001 From: "Gregory P. Smith" Date: Sat, 9 Sep 2017 00:30:15 -0700 Subject: bpo-29639: change test.support.HOST to "localhost" test.support.HOST should be "localhost" as it was in the past. See the bpo-29639. Tests that need the IP address should use HOSTv4 (added) or the existing HOSTv6 constant. This changes the definition and fixes tests that needed updating to deal with HOST being the hostname rather than the hardcoded IP address. This is only the first step in addressing https://bugs.python.org/issue29639. --- Lib/asyncore.py | 1 - 1 file changed, 1 deletion(-) (limited to 'Lib/asyncore.py') diff --git a/Lib/asyncore.py b/Lib/asyncore.py index 03d16838b7..828f4d4fe7 100644 --- a/Lib/asyncore.py +++ b/Lib/asyncore.py @@ -287,7 +287,6 @@ class dispatcher: def set_socket(self, sock, map=None): self.socket = sock -## self.__dict__['socket'] = sock self._fileno = sock.fileno() self.add_channel(map) -- cgit v1.2.1