'Return all the distribution names known to this locator.'

def get_distribution_names(self):

    result = set()
    for locator in self.locators:
        try:
            result |= locator.get_distribution_names()
        except NotImplementedError:
            pass
    return result
