[issue978604] wait_variable hangs at exit

2021-12-25 Thread Daniel Diniz
Daniel Diniz added the comment: Confirmed on Python 3.11.0a3+, assuming older versions also affected. This issue has different versions of tests to confirm it, but I think not in a test suite-friendly format yet. There's also a patch and detailed analysis by gpolo indicating that it might n

[issue978604] wait_variable hangs at exit

2012-03-21 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- nosy: +asvetlov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue978604] wait_variable hangs at exit

2011-06-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: In 3.2, winxp, (with Tkinter => tkinter), I get invalid command name "12277720callit" while executing "12277720callit" ("after" script) and no new prompt and ^C ineffective. Had to kill command window. With IDLE, get nothing and have to kill with Task Ma

[issue978604] wait_variable hangs at exit

2009-03-31 Thread Guilherme Polo
Guilherme Polo added the comment: Ah.. number 2 is problematic. Before continuing lets reduce the previous WaitTest.py to this (which shows the same problems): import Tkinter root = Tkinter.Tk() waitVar = Tkinter.BooleanVar() root.after(3000, lambda: waitVar.set(True)) root.wait_variable(wait

[issue978604] wait_variable hangs at exit

2009-03-31 Thread Guilherme Polo
Guilherme Polo added the comment: Using this patch I noticed two problems appeared when running WaitTest.py 1) Closing the window results in: "_tkinter.TclError: can't invoke "tkwait" command: application has been destroyed" which I'm not considering as a bug, maybe the user can get confused a

[issue978604] wait_variable hangs at exit

2009-03-31 Thread Guilherme Polo
Guilherme Polo added the comment: Patch attached, but didn't test it at all. This is a trick so it doesn't get committed without a test (hopefully) :) -- keywords: +patch Added file: http://bugs.python.org/file13528/issue978604.diff ___ Python tracke

[issue978604] wait_variable hangs at exit

2009-03-31 Thread Guilherme Polo
Guilherme Polo added the comment: You can also reproduce it with a shorter test that doesn't need any interaction: import Tkinter root = Tkinter.Tk() waitvar = Tkinter.BooleanVar() root.after(50, lambda: waitvar.set(True)) root.after(10, root.destroy) root.wait_variable(waitvar) root.mainloo

[issue978604] wait_variable hangs at exit

2009-02-14 Thread Daniel Diniz
Daniel Diniz added the comment: Confirmed on Linux (closing after 'script 2'): trunk-py$ ./python WaitTest.py script 0 script 1 script 2 invalid command name "137221876callit" while executing "137221876callit" ("after" script) -- nosy: +ajaksu2 stage: -> test needed type: ->