diff -r b1b35583967a Lib/idlelib/PyShell.py --- a/Lib/idlelib/PyShell.py Thu Dec 22 09:10:47 2011 +0200 +++ b/Lib/idlelib/PyShell.py Thu Dec 22 13:09:15 2011 -0600 @@ -950,10 +950,6 @@ self.top.quit() self.canceled = True self.closing = True - # Wait for poll_subprocess() rescheduling to stop - self.text.after(2 * self.pollinterval, self.close2) - - def close2(self): return EditorWindow.close(self) def _close(self):