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
commit865f13c3fb6cc80b1adead7aba79827e166d3550 (patch)
tree97defb727148193c3753bf2c13c9fe88bb7af559 /Python/errors.c
parent96ec4ded8bc92e88b353692536e0c9a881aead44 (diff)
downloadcpython-865f13c3fb6cc80b1adead7aba79827e166d3550.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