Re: WinPython is freezing

Terry Reedy <[email protected]> Fri, 11 May 2018 17:03:55 -0400
Newsgroups gmane.comp.python.idle
Message-ID <[email protected]>
On 5/11/2018 3:09 PM, Mauricio Reis wrote:

> About (2): Sorry, but you are wrong about Notepad++: it creates all 
> backups files in nppBackup directory below the directory of file beeing 
> edited!

I found the backup page of the settings dialog.  For me, the backup 
location is C:\Users\Terry\AppData\Roaming\Notepad++\backup\.  Session 
save and timed backups every 7 seconds are on, backup on save is off.  I 
don't believe I changed anything.  This pane give me something to consider.

I believe the standard paranoid save procedure is to
1. rename original file by adding '.bak'.
2. write new file with original name
3. delete original file
(Super paranoid might add 2a. read new file and compare.)

IDLE does not do this, but it does show a message if there is an OSError 
on writing.   However, I cannot remember having a problem.  On modern 
disks, write errors are uncommon.

Timed autosave, issue 21152, and auto restore, would probably be more 
often useful as various shutdowns during a lengthy session are possible.