[issue12869] PyOS_StdioReadline is printing the prompt on stderr

Adam Bartoš report at bugs.python.org
Sun Nov 22 07:32:17 EST 2015


Adam Bartoš added the comment:

> * The interactive interpreter always reads from the original standard input, whether Readline is used or not.

This is not true – the interactive interpreter reads via PyOS_Readline, which may call whatever readline hook is installed.

I think the situation would be much more clear if something like my proposal was implemented (https://mail.python.org/pipermail/python-dev/2015-November/142246.html).

----------

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


More information about the Python-bugs-list mailing list