commit | 0238a25b20357f34f8b678373264c5ead2aecc5a | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Tue Sep 22 02:38:42 1998 +0000 |
committer | Guido van Rossum <guido@python.org> | Tue Sep 22 02:38:42 1998 +0000 |
tree | 49b243d393e2fefca33e141cb78ff5e0427c3511 | |
parent | ef0056ae1a5f6dd2cc10505fb10e7653418d7f1f [diff] |
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.