[Python-Dev] raw_input prompt not printed on sys.stderr

Clement Rouault clement.rouault at gmail.com
Mon Jul 6 22:45:59 CEST 2015


While playing with non-standard sys.stdout/stderr, I noticed that the
prompt of raw_input was printed on stderr (not sys.stderr) (see

I found an issue (http://bugs.python.org/issue1927) from 2008 talking
about changing stderr to stdout. But nobody in the thread seems
bothered by the use of stdout/err over the ones in the sys module.

So, is there any good reason I might not be aware of that justifies
the use of stderr over sys.stderr ?

Clement "Hakril" Rouault

More information about the Python-Dev mailing list