Jason Orendorff wrote: > I agree! This could be improved by having file.__iter__() > always return the same object. But that doesn't solve the problem > in full. Perhaps the buffer should be attached to the file object itself instead of to the iterator. read() and readline() could then be changed to use the buffer if it exists. Neil