Martin Panter added the comment:

Adam: My experiments were assuming that PyOS_Readline() only ever uses the 
basic implementation or the Readline library, in order to see if there was any 
consistency with how Python worked in common situations.

There is actually a test that waits for the interpreter prompt on stderr; see 
test_cmd_line_script.CmdLineTest.interactive_python(). I realized that changing 
this would have to be considered carefully, because it could easily break other 
code as well. It certainly should not be done in a bug fix release.

Anyway I am proposing a patch in Issue 1927 to fix PyOS_StdioReadline(), so 
closing this as a duplicate.

----------
components: +Interpreter Core -Extension Modules
resolution:  -> duplicate
status: open -> closed
superseder:  -> raw_input behavior incorrect if readline not enabled

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue12869>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to