Kurt B. Kaiser <k...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue11896> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com