[issue26352] getpass incorrectly displays password prompt on stderr on fallback
Matt Hooks
report at bugs.python.org
Fri Feb 12 16:46:53 EST 2016
Matt Hooks added the comment:
Patch attached.
I'm unsure whether forcing the warning message to stderr is the right choice here, but it seems unlikely that users would want their warning and password prompt on the same stream. The alternative here would be a second kwarg, but that seems overkill.
----------
keywords: +patch
Added file: http://bugs.python.org/file41910/26352_avoid_prompt_on_stderr.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26352>
_______________________________________
More information about the Python-bugs-list
mailing list