summaryrefslogtreecommitdiff
path: root/Python/errors.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-02-14 19:45:36 +0000
committerGuido van Rossum <guido@python.org>1997-02-14 19:45:36 +0000
commit7433b12a5ca8c1c6a6685160edb09efbf61c4544 (patch)
treea9640e590c02eea085dcaaeb155b30242bfa2754 /Python/errors.c
parent115eb64ff69fdeb48a7cb7e62981284b2de49ef5 (diff)
downloadcpython-git-7433b12a5ca8c1c6a6685160edb09efbf61c4544.tar.gz
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 'Python/errors.c')
0 files changed, 0 insertions, 0 deletions