• Alan De Smet's avatar
    Raise built-in open exceptions if file inaccessible · 5718694e
    Alan De Smet authored
    If the file is inaccessible, raise the same Exception the built-in global open() would.  This makes for more specific and helpful errors. This is done by doing an experimental open() on the file and not catching anything.