[ python-Bugs-807871 ] tkMessageBox.askyesno wrong result
SourceForge.net
noreply at sourceforge.net
Sun Aug 29 12:30:08 CEST 2004
Bugs item #807871, was opened at 2003-09-17 15:18
Message generated for change (Comment added) made by jiba
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=807871&group_id=5470
Category: Tkinter
Group: Python 2.3
Status: Open
Resolution: None
Priority: 8
Submitted By: Paul Perkins (ranger1)
Assigned to: Nobody/Anonymous (nobody)
Summary: tkMessageBox.askyesno wrong result
Initial Comment:
Bug: tkMessageBox.askyesno can return wrong result.
Bug in python 2.3, built from source on SuSE 8.2 Linux box
with gcc (GCC) 3.3 20030226 (prerelease) (SuSE Linux).
To demonstate bug:
1. Run attached program in a shell window under X.
2. Click "askyesno" button in main window.
3. Click "Yes" button in the new window.
4. Observe printed result "True" in shell window.
5. Click "openfiledialog" button in main window.
6. Cancel the file dialog (or select a file, it doesn't matter).
7. Click "askyesno" button in main window.
8. Click "Yes" button in the new window.
9. Observe printed result "False" in shell window.
Using the debugger in idle, one can see that the
difference is that Tk returns "yes" to Python in step 3, but
True in step 8.
In python 2.2 (as built by SuSE for 8.2), the printed result
is always "1" in steps 3 and 8.
----------------------------------------------------------------------
Comment By: Jiba (jiba)
Date: 2004-08-29 10:30
Message:
Logged In: YES
user_id=591223
I have this bug too, with Python 2.3.4 on Linux Mandrake.
----------------------------------------------------------------------
Comment By: Michael Bartl (midramas)
Date: 2003-10-19 22:13
Message:
Logged In: YES
user_id=31511
Tested on Linux with python HEAD from cvs. Bug could be
reproduced and is still present.
----------------------------------------------------------------------
Comment By: SomeOne (regenkind)
Date: 2003-10-18 15:49
Message:
Logged In: YES
user_id=1592
I have downloaded the file and executed it on windows 2000,
py2.3.2 and could not observe this behaviour. I get both
times true.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=807871&group_id=5470
More information about the Python-bugs-list
mailing list