[Patches] [ python-Patches-1660202 ] IDLE doesn't save files on closing

SourceForge.net noreply at sourceforge.net
Thu Feb 15 10:58:27 CET 2007


Patches item #1660202, was opened at 2007-02-15 01:26
Message generated for change (Comment added) made by gbrandl
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1660202&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: IDLE
Group: None
>Status: Closed
>Resolution: Out of Date
>Priority: 7
Private: No
Submitted By: Toni (miargep142)
Assigned to: Nobody/Anonymous (nobody)
Summary: IDLE doesn't save files on closing

Initial Comment:
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.

----------------------------------------------------------------------

>Comment By: Georg Brandl (gbrandl)
Date: 2007-02-15 09:58

Message:
Logged In: YES 
user_id=849994
Originator: NO

This has already been fixed in the SVN trunk, rev. 53375.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1660202&group_id=5470


More information about the Patches mailing list