[issue28373] input() prints to original stdout even if sys.stdout is wrapped

Adam Bartoš report at bugs.python.org
Mon Oct 10 03:29:36 EDT 2016


Adam Bartoš added the comment:

Does GNU readline do anything fancy about printing the prompt? Because you may want to use GNU readline for autocompletition while still enable colored output via wrapped stdout. Both at the same time with one call to input(). It seems that currently either you go interactive and ignore sys.std*, or you lose readline capabilities.

----------

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


More information about the Python-bugs-list mailing list