Tal Einat added the comment: See also issue #24402: input() uses sys.__stdout__ instead of sys.stdout for prompt ---------- nosy: +taleinat _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue1927> _______________________________________