Jan-07-2020, 08:33 PM
do all
open()
failures always cause an exception in the open()
call and never just return a None or something else that could cause an exception later on? i'm wanting to move some failure handling to with open()
that could be awkward if it needs to also check for returned errors.