Support pathlib objects#7
Conversation
|
The original |
|
Of course I forgot the |
|
What if an exception occurs somewhere before the I'm all for reducing the indentation level, but it's not related to the pathlib changes and it interferes with a lot of other PRs. |
|
OK, I'll revert this, but we need to take care of exceptions anyway, because right now we catch all exceptions at the end. Technically, we could also add |
|
Looks good to me. If @cboulay doesn't have any objections we should squash and merge it. |
|
I merged a squashed version of this. |
Fixes sccn/xdf#41.
I've also managed to shave off one level of precious indentation space in case you're wondering why the change is so big.