[issue14254] IDLE - shell restart during readline does not reset readline

Roger Serwy report at bugs.python.org
Sun Mar 11 18:51:13 CET 2012


New submission from Roger Serwy <roger.serwy at gmail.com>:

In PyShell.py, the "readline" method enters a nested event loop for handling input. 

If the shell is restarted, the nested event loop remains until after the first press of "enter" causes the "enter_callback" to quit the nested event loop. The effect is that the first line of input to the prompt is ignored by the new shell.

Attached is a patch against 3.3 to fix the problem.

----------
components: IDLE
files: reading_reset.patch
keywords: patch
messages: 155398
nosy: serwy
priority: normal
severity: normal
status: open
title: IDLE - shell restart during readline does not reset readline
type: behavior
versions: Python 2.7, Python 3.2, Python 3.3
Added file: http://bugs.python.org/file24784/reading_reset.patch

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


More information about the Python-bugs-list mailing list