]> granicus.if.org Git - python/commit
Do the check for lacking sys.stdin.fileno() *before* testing for
authorGuido van Rossum <guido@python.org>
Tue, 22 Sep 1998 02:38:42 +0000 (02:38 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 22 Sep 1998 02:38:42 +0000 (02:38 +0000)
commit0238a25b20357f34f8b678373264c5ead2aecc5a
tree49b243d393e2fefca33e141cb78ff5e0427c3511
parentef0056ae1a5f6dd2cc10505fb10e7653418d7f1f
Do the check for lacking sys.stdin.fileno() *before* testing for
Windows.  If sys.stdin doesn't appear to be a real file (characterized
by having a working fileno()), don't use any console specific methods
-- go straight to the default.
Lib/getpass.py