]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
#18116: getpass no longer always falls back to stdin.
authorR David Murray <rdmurray@bitdance.com>
Wed, 10 Jul 2013 21:02:24 +0000 (17:02 -0400)
committerR David Murray <rdmurray@bitdance.com>
Wed, 10 Jul 2013 21:02:24 +0000 (17:02 -0400)
commit16dbbae2981c96c7c9b1ae81e1708d54b08c10ac
treea1e1d877ee7619ba1d19e2332a2af0b550545904
parentacb362e29f46a7c748a6dff450d4f912ca03b633
#18116: getpass no longer always falls back to stdin.

Also fixes a resource warning that occurred when the fallback is taken.

Patch by Serhiy Storchaka.

(We couldn't figure out how to write tests for this.)
Lib/getpass.py
Lib/test/test_getpass.py
Misc/NEWS