

def fullsplit(path, result=None):
    '\n    Split a pathname into components (the opposite of os.path.join) in a\n    platform-neutral way.\n    '
    if (result is None):
        result = []
    (head, tail) = os.path.split(path)
    if (head == ''):
        return ([tail] + result)
    if (head == path):
        return result
    return fullsplit(head, ([path] + result))

dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/django-extensions-1.5.0/setup.py fullsplit/VarMisuse@85/134 `tail`->`path`