]> granicus.if.org Git - python/commit
Added new global flag variable Py_InteractiveFlag and new function
authorGuido van Rossum <guido@python.org>
Fri, 14 Feb 1997 19:45:36 +0000 (19:45 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 14 Feb 1997 19:45:36 +0000 (19:45 +0000)
commit7433b12a5ca8c1c6a6685160edb09efbf61c4544
treea9640e590c02eea085dcaaeb155b30242bfa2754
parent115eb64ff69fdeb48a7cb7e62981284b2de49ef5
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.
Python/pythonrun.c