SIGN IN SIGN UP

#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.)
R
R David Murray committed
16dbbae2981c96c7c9b1ae81e1708d54b08c10ac
Parent: acb362e