Kurt B. Kaiser
-
2003-09-10
- priority: 5 --> 7
- assigned_to: nobody --> kbk
- status: open --> open-accepted
With the idlelib included in Python 2.3b2 I find that
the following simple program "misbehaves" on Windows
but not on Linux:
from visual import *
box()
scene.mouse.getclick()
If with the graphics window open I go back to the edit
window and press F5, the first window stays up (and if
I keep doing this I get lots of them). If I click in
one of these old windows, it closes.
A similar thing happens with a wait for keyboard input:
from visual import *
box()
s = scene.kb.getkey()
print s
Does this indicate something wrong in Visual that I
need to fix? Or is there some general issue with
idlelib in the case where a window is waiting for
keyboard or mouse input? This problem doesn't occur
with Idle_VPython.