idle BUG

John Roth johnroth at
Fri Jun 15 09:38:54 EDT 2001

"Tim Peters" < at> wrote in message
news:mailman.992571923.27618.python-list at
> [Robin Becker]
> > I think this must be a bug in Tkinter, but since no one ever responds I
> > thought I'd whine about idle instead.
> See
> > I run python2.1 Win95 OSR2.
> > Start a command window
> > run python
> >
> > Kill the idle window using the mouse (click on the x). In some unknown
> > percentage of cases (like 50%) the process hangs and doesn't return to
> > the command window.
> >
> > The hung process is very destructive and makes it impossible to reboot
> > the machine properly. This bug has been present for a very long time
> > and I'm fed up with it.
> Use pythonw instead.  Then it doesn't hang.  Nobody knows how to fix it,
> even what causes it (follow the link).

Pythonw is OK for the shipping version of an app, but I need the console
window while I'm debugging. If the problem is strictly associated with the
button in the upper right corner, then I'll just have to put explicit close
in places where they don't belong. Fortunately, I can make that so they only
show up in test code, and won't affect the shipping versions.

John Roth

More information about the Python-list mailing list