]> granicus.if.org Git - python/commit
Change in when and how stdin and stdout are set to line-buffering.
authorGuido van Rossum <guido@python.org>
Fri, 11 Apr 1997 21:57:53 +0000 (21:57 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 11 Apr 1997 21:57:53 +0000 (21:57 +0000)
commit2a212191f8bd19c2deab88764b894dd31f39af78
treeb2f3dc455252fdf4c0642e548c293fccae92ebb0
parent7844e38a988243b4f3d59feab0908246d37ea34c
Change in when and how stdin and stdout are set to line-buffering.
This used to be done whenever stdin was interactive.  Now we only do
it when the -i flag is given.  Also (and this is the real reason for
this fix) we explicitly allocate a buffer -- this seems to be
necessary on Windows.
Modules/main.c