[issue21140] Idle: saving an OutputWindow should default to .txt
Terry J. Reedy added the comment: Raymond, I open #21152 with your idea. #11838 and #19042 are somewhat related but timed autosave is not a part of either. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21140 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21140] Idle: saving an OutputWindow should default to .txt
Changes by Saimadhav Heblikar saimadhavhebli...@gmail.com: -- nosy: +sahutd ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21140 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21140] Idle: saving an OutputWindow should default to .txt
Saimadhav Heblikar added the comment: Attaching a patch. The file type on OutputWIndow defaults to .txt. Can be very easily made to default to none aswell. Tested on linux for 2.7 and 3.4.(Debian Wheezy, Gnome 3) On 2.7, made changes so that ispythonsource(in EditorWindow) behaves similar to 3.4(in EditorWindow) On both 2.7 and 3.4, made change to ispythonsource(in OutputWindow), to make it return False instead of 0(to mirror behavior in EditorWindow) -- keywords: +patch Added file: http://bugs.python.org/file34713/issue21140-27.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21140 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21140] Idle: saving an OutputWindow should default to .txt
Changes by Saimadhav Heblikar saimadhavhebli...@gmail.com: Added file: http://bugs.python.org/file34714/issue21140-34.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21140 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21140] Idle: saving an OutputWindow should default to .txt
Raymond Hettinger added the comment: FWIW, students commonly save shell sessions as a record of everything they tried in call. It would nice if there were a way to trigger a periodic autosave (perhaps every five minutes or so). -- nosy: +rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21140 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21140] Idle: saving an OutputWindow should default to .txt
New submission from Terry J. Reedy: If possible, when saving an instance of an OutputWindow, the file type should default to .txt (or possibly even nothing) instead of .py. At present, OutputWindows are only used for Find in Files (grep) output, which is very much not Python code. The same should be true of any other OutputWindow uses, which I except there will be, making OutputWindow saves more common. A patch should be tested and verified on Mac, Linux, and Windows. -- components: IDLE messages: 215419 nosy: terry.reedy priority: normal severity: normal stage: needs patch status: open title: Idle: saving an OutputWindow should default to .txt type: behavior versions: Python 2.7, Python 3.4, Python 3.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21140 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com