SIGN IN SIGN UP

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.
G
Guido van Rossum committed
0238a25b20357f34f8b678373264c5ead2aecc5a
Parent: ef0056a