On Monday 15 July 2002 04:39 pm, Guido van Rossum wrote: ... > Maybe the xreadlines object could grow a flush() method that throws > away its buffer, and f.seek() could call that if there's a cached > xreadlines iterator? Couldn't f.seek just decref the xreadlines object and put a NULL into f's pointer to the xreadlines object? Alex