Package: idle-python2.3
Version: 2.3.5-1

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 /usr/lib/python2.3/idlelib/EditorWindow.py, function 'close(self)'
line 720:

    if reply != "cancel":

is replaced by

    if str(reply) != "cancel":

the 'yes', 'no' and 'cancel' buttons work as expected.


Reply via email to