[New-bugs-announce] [issue1649] IDLE error: dictionary changed size during iteration

Christian Heimes report at bugs.python.org
Tue Dec 18 10:03:33 CET 2007


New submission from Christian Heimes:

This happens when I press on X to close idle:

c:\dev\python\trunk\PCbuild9>python ../Lib/idlelib/idle.py
Exception in Tkinter callback
Traceback (most recent call last):
  File "c:\dev\python\trunk\lib\lib-tk\Tkinter.py", line 1403, in __call__
    return self.func(*args)
  File "c:\dev\python\trunk\lib\lib-tk\Tkinter.py", line 498, in callit
    func(*args)
  File "c:\dev\python\trunk\lib\idlelib\PyShell.py", line 945, in close2
    return EditorWindow.close(self)
  File "c:\dev\python\trunk\lib\idlelib\EditorWindow.py", line 825, in close
    self._close()
  File "c:\dev\python\trunk\lib\idlelib\PyShell.py", line 961, in _close
    EditorWindow._close(self)
  File "c:\dev\python\trunk\lib\idlelib\EditorWindow.py", line 841, in
_close
    self.per.close()
  File "c:\dev\python\trunk\lib\idlelib\Percolator.py", line 20, in close
    self.redir.close(); self.redir = None
  File "c:\dev\python\trunk\lib\idlelib\WidgetRedirector.py", line 43,
in close
    for operation in self._operations:
RuntimeError: dictionary changed size during iteration

Windows XP, Python 2.6 trunk, Tcl 8.4.16 (corrected build).

----------
assignee: kbk
components: IDLE, Windows
messages: 58730
nosy: kbk, tiran
priority: normal
severity: normal
status: open
title: IDLE error: dictionary changed size during iteration
versions: Python 2.6

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1649>
__________________________________


More information about the New-bugs-announce mailing list