

def get_possible_addresses(addresses=[], member_list=[]):
    address_lists = list(itertools.chain(*[_parse_address(a) for a in addresses]))
    return (set((address_lists + [m.address for m in member_list])) or _parse_address(DEFAULT_ADDRESS))

dataset/ETHPy150Open hazelcast/hazelcast-python-client/hazelcast/util.py get_possible_addresses/original