On Nov 23, 6:56 pm, greg <g... at cosc.canterbury.ac.nz> wrote: > By not providing an eof() function, C -- and Python -- make > it clear that testing for eof is not a passive operation. > It's always obvious what's going on, and it's much harder to > make mistakes like the above. err...C has feof() in stdio (see "man 3 ferror"). Regards, Jordan