commit | 7433b12a5ca8c1c6a6685160edb09efbf61c4544 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Fri Feb 14 19:45:36 1997 +0000 |
committer | Guido van Rossum <guido@python.org> | Fri Feb 14 19:45:36 1997 +0000 |
tree | a9640e590c02eea085dcaaeb155b30242bfa2754 | |
parent | 115eb64ff69fdeb48a7cb7e62981284b2de49ef5 [diff] |
Added new global flag variable Py_InteractiveFlag and new function Py_FdIsInteractive(). The flag is supposed to be set by the -i command line option. The function is supposed to be called instead of isatty(). This is used for Lee Busby's wish #1, to have an option that pretends stdin is interactive even when it really isn't.