[Python-ideas] BackupFile

Kim Gräsman kim at mvps.org
Mon Jun 25 20:46:57 CEST 2012

On Mon, Jun 25, 2012 at 5:21 PM, Christian Heimes <lists at cheimes.de> wrote:
> Am 25.06.2012 17:03, schrieb Kim Gräsman:
>> This is a very valid concern -- if the process dies unexpectedly I'd
>> leave the file replaced and the original in some temporary directory.
>> Not sure if there's a way around that, probably not.
> Your algorithm doesn't take SIGKILL, SIGSEV or server crash into
> account. I don't see a chance to compensate for these problems. How
> about you fix the 3rd party code instead?
> -1 for addition of broken code.

Duly noted :-)

It's simple enough and works well in my narrow context, so I'll just
keep it to myself.

- Kim

More information about the Python-ideas mailing list