stdio EOF ?

Erik Max Francis max at alcyone.com
Mon Aug 12 02:40:32 EDT 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 alcyone.com / http://www.alcyone.com/max/
 __ 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 / http://www.alcyone.com/pyos/church/
 A lambda calculus explorer in Python.



More information about the Python-list mailing list