Re: Atomic file save -- code review and comments requested

2015-09-02 Thread Oscar Benjamin
On Wed, 2 Sep 2015 19:06 Steven D'Aprano wrote: Howdy, I have a utility function for performing atomic file saves, and I'd like to ask for a code review and comments. I have published this on ActiveState: https://code.activestate.com/recipes/579097-safely-and-atomically-write-to-a-file/ under

Atomic file save -- code review and comments requested

2015-09-02 Thread Steven D'Aprano
Howdy, I have a utility function for performing atomic file saves, and I'd like to ask for a code review and comments. I have published this on ActiveState: https://code.activestate.com/recipes/579097-safely-and-atomically-write-to-a-file/ under an MIT licence. You should read the version there