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

2015年7月06日 13:48:06 -0700

Hi,
While playing with non-standard sys.stdout/stderr, I noticed that the
prompt of raw_input was printed on stderr (not sys.stderr) (see
Parser/myreadline.c:120).
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
_______________________________________________
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to