[Python-ideas] BackupFile

Christian Heimes lists at cheimes.de
Mon Jun 25 17:21:57 CEST 2012


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.

Sorry ;)
Christian




More information about the Python-ideas mailing list