diff options
author | Gregory P. Smith <greg@mad-scientist.com> | 2008-04-22 08:08:41 +0000 |
---|---|---|
committer | Gregory P. Smith <greg@mad-scientist.com> | 2008-04-22 08:08:41 +0000 |
commit | 19b441118169f99b0e6f02afb4ee1621336492ed (patch) | |
tree | cca5f13b7ebd520d2eaa7f3b720a4a49fc9a2ad1 /Lib/test/test_pydoc.py | |
parent | 8e0319d82a812599b5e42c4aec1a2b7a34da82f3 (diff) | |
download | cpython-git-19b441118169f99b0e6f02afb4ee1621336492ed.tar.gz |
Major improvements:
* Default to using /dev/tty for the password prompt and input before
falling back to sys.stdin and sys.stderr.
* Use sys.stderr instead of sys.stdout.
* print the 'password may be echoed' warning to stream used to display
the prompt rather than always sys.stderr.
* warn() with GetPassWarning when input may be echoed.
Diffstat (limited to 'Lib/test/test_pydoc.py')
0 files changed, 0 insertions, 0 deletions