• Ronald Oussoren's avatar
    Ensure that sys.prefix can reliably be found · 97d1119d
    Ronald Oussoren yazdı
    on OSX. This fixes a small issue that was exposed
    by running test_subprocess through regrtest (and
    hence in a subdirectory).
    
    Without this patch running python.exe from the
    build tree will fail when these tree conditions
    are true:
    1) the CWD is not the root of build tree
    2) python.exe is found through $PATH
    3) the framework is not yet installed
    97d1119d
getpath.c 23.3 KB