[issue14254] IDLE - shell restart or closing during readline does not exit nested event loop

Ned Deily report at bugs.python.org
Mon Apr 1 07:01:18 CEST 2013


Ned Deily added the comment:

With the stop_readline patch, I'm seeing this exception upon shell restart when trying the same test as above:

$ ./python -m idlelib
Exception in Tkinter callback
Traceback (most recent call last):
  File "Lib/tkinter/__init__.py", line 1475, in __call__
    return self.func(*args)
  File "Lib/idlelib/PyShell.py", line 1225, in restart_shell
    self.interp.restart_subprocess(with_cwd=True)
  File "Lib/idlelib/PyShell.py", line 457, in restart_subprocess
    console.stop_readline()
AttributeError: 'PyShell' object has no attribute 'stop_readline'

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14254>
_______________________________________


More information about the Python-bugs-list mailing list