[issue23666] Add shell session logging option to IDLE

2019-08-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: A dirty editor must be saved before running, or discarded before closing. Neither is true for Shell, Making these at least an option in Shell should be the first change. If the user has specified a savefile name, that should be used, and the user is

[issue23666] Add shell session logging option to IDLE

2019-08-09 Thread Tal Einat
Tal Einat added the comment: I'm happy to look into implementing this. Also perhaps auto-saved backups for edited files. Where would you suggest the files be kept? The user's .idlerc directory? -- nosy: +taleinat ___ Python tracker

[issue23666] Add shell session logging option to IDLE

2017-09-18 Thread Grant Jenks
Grant Jenks added the comment: +1 from me. I'd like to see it ask me to save when I close the window if I've already saved once. -- nosy: +grantjenks ___ Python tracker

[issue23666] Add shell session logging option to IDLE

2015-03-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: I do not see how Restart (as opposed to a proposed Clear option) loses anything. However, closing without saving definitely anything since a save. Moreover, even after saving Shell once, there is no Save on Close box displayed (as for editor windows) when

[issue23666] Add shell session logging option to IDLE

2015-03-20 Thread Raymond Hettinger
Raymond Hettinger added the comment: Autosave would suffice. :-) The restart issue wasn't the usual restart you get by pressing F5. What is happening is that someone does an action that kills or hangs the IDLE app, then they have to force close and restart IDLE itself. --

[issue23666] Add shell session logging option to IDLE

2015-03-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: Do you know if, when a process is killed, date written to open files gets flushed to disk? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23666 ___

[issue23666] Add shell session logging option to IDLE

2015-03-14 Thread Raymond Hettinger
New submission from Raymond Hettinger: IDLE's interactive shell supports File / Save to save an interactive session. However, if a user restarts a session or accidentally exits without saving, all is lost. In Python courses I've taught, there has been a recurring request for an auto-logging