def gethostbyname_ex(self, *args): return self.pool.apply_e(self.expected_errors, _socket.gethostbyname_ex, args)