[issue26352] getpass incorrectly displays password prompt on stderr on fallback

R. David Murray report at bugs.python.org
Sat May 7 08:57:34 EDT 2016


R. David Murray added the comment:

stdout is much more likely to be redirected than stderr, so falling back to stderr makes more sense than falling back to stdout.  In the normal case, the prompt is shown regardless of whether stdout is redirected, and we're trying our best to replicate that in the fallback.

----------
nosy: +r.david.murray
resolution:  -> rejected
stage: patch review -> resolved
status: pending -> closed

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


More information about the Python-bugs-list mailing list