New submission from Roger Serwy <roger.se...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue14254> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com