On Sun, Apr 15, 2018 at 05:15:55PM +0300, Alexey Shrub <ash...@yandex.ru> wrote:
> В Воскресенье, 15 апр. 2018 в 2:40 , Nick Coghlan <ncogh...@gmail.com>
> написал:
> > https://bugs.python.org/issue8604#msg174104 is the relevant tracker
> > discussion
> 
> Thanks all, I agree that universal and absolutly safe solution is very
> difficult, but for experiment I made some draft
> https://github.com/worldmind/scripts/tree/master/filerewrite

   Good!

> main code here
> https://github.com/worldmind/scripts/blob/master/filerewrite/filerewrite.py#L46

   Can I recommend to catch exceptions in `backuper.backup()`,
cleanup backuper and unlock locker?

Oleg.
-- 
     Oleg Broytman            http://phdru.name/            p...@phdru.name
           Programmers don't die, they just GOSUB without RETURN.
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to