This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: IDLE doesn't save files on closing
Type: Stage:
Components: IDLE Versions:
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: georg.brandl, miargep142
Priority: high Keywords: patch

Created on 2007-02-15 01:26 by miargep142, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg51880 - (view) Author: Toni (miargep142) Date: 2007-02-15 01:26
There is a bug in the 'Save on Close'-dialog in the idle editor.

When clicking the close-button in an edited file, no matter if the user
chooses 'yes', 'no' or 'cancel' in the appearing 'Save on Close'-dialog,
the effect is the same:
the window closes and changes are not written to the edited file.


If in idlelib/EditorWindow.py, in function 'close(self)', the line

    if reply != "cancel":

is replaced by

    if str(reply) != "cancel":

the 'yes', 'no' and 'cancel' buttons work as expected.
msg51881 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2007-02-15 09:58
This has already been fixed in the SVN trunk, rev. 53375.
History
Date User Action Args
2022-04-11 14:56:22adminsetgithub: 44585
2007-02-15 01:26:51miargep142create