[issue11896] Save on Close fails in IDLE, from Linux system

Kurt B. Kaiser report at bugs.python.org
Thu May 12 22:09:03 CEST 2011


Kurt B. Kaiser <kbk at shore.net> added the comment:

tkinter.messagebox.Message sending <class '_tkinter.Tcl_Obj'> rather
than str, so comparison with str failed.  Always for "cancel", (almost?)
always for "yes".

Use the helper functions in tkinter.messagebox, which correct for that.

This hasn't worked for a long time, I'm surprised it just came up.  Will
backport to 2.7.

----------
assignee: ned.deily -> kbk
nosy: +kbk
resolution:  -> fixed
stage: needs patch -> committed/rejected
status: open -> closed
versions: +Python 3.1, Python 3.3 -Python 2.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11896>
_______________________________________


More information about the Python-bugs-list mailing list