def _mac_ver_lookup(selectors,default=None):

    from gestalt import gestalt
    import MacOS
    l = []
    append = l.append
    for selector in selectors:
        try:
            append(gestalt(selector))
        except (__HOLE__, MacOS.Error):
            append(default)
    return l
dataset/ETHPy150Open babble/babble/include/jython/Lib/platform.py/_mac_ver_lookup