summaryrefslogtreecommitdiffstats
path: root/Modules/main.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-02-14 19:45:36 (GMT)
committerGuido van Rossum <guido@python.org>1997-02-14 19:45:36 (GMT)
commit7433b12a5ca8c1c6a6685160edb09efbf61c4544 (patch)
treea9640e590c02eea085dcaaeb155b30242bfa2754 /Modules/main.c
parent115eb64ff69fdeb48a7cb7e62981284b2de49ef5 (diff)
downloadcpython-7433b12a5ca8c1c6a6685160edb09efbf61c4544.zip
cpython-7433b12a5ca8c1c6a6685160edb09efbf61c4544.tar.gz
cpython-7433b12a5ca8c1c6a6685160edb09efbf61c4544.tar.bz2
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.
Diffstat (limited to 'Modules/main.c')
0 files changed, 0 insertions, 0 deletions