stdio EOF ?

Erik Max Francis max at
Mon Aug 12 08:40:32 CEST 2002

Joshua Schmidlkofer wrote:

> Perhaps someone should implement a suck() method for programs which
> are
> thwarted by being down stream of someone who doesn't know when to
> flush().

That's great, but that wouldn't have resolved the original poster's
problem.  The buffering was inherent in the mechanism he was using for
reading stdin, not because he was lacking explicit calls to .flush.

 Erik Max Francis / max at /
 __ San Jose, CA, US / 37 20 N 121 53 W / ICQ16063900 / &tSftDotIotE
/  \ There is nothing so subject to the inconstancy of fortune as war.
\__/ Miguel de Cervantes
    Church /
 A lambda calculus explorer in Python.

More information about the Python-list mailing list