summaryrefslogtreecommitdiff
path: root/Python/errors.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-02-14 19:50:32 +0000
committerGuido van Rossum <guido@python.org>1997-02-14 19:50:32 +0000
commitf416c92e142e2ae8eabb66c035b62ac529a33863 (patch)
tree77d0abb10e56b89815a1013548aa2e38da2153be /Python/errors.c
parent865f13c3fb6cc80b1adead7aba79827e166d3550 (diff)
downloadcpython-f416c92e142e2ae8eabb66c035b62ac529a33863.tar.gz
My version of Lee Busby's patches to make '-i' pretend stdin is a tty
even if it isn't. Changes: - set the global flag Py_InteractiveFlag when -i is given - call Py_FdIsInteractive() instead of isatty() - make stdin unbuffered, too, when using -u - make stdin and stdout line buffered, when stdin is interactive and not -u Note that setting the environment variable PYTHONINSPECT does not have these extra effects of -i. (Should it?) Unlike Lee's changes, I don't set change the prompt to go to stderr when -i is given.
Diffstat (limited to 'Python/errors.c')
0 files changed, 0 insertions, 0 deletions