> What's the reason for using xreadlines as a file iterator? Was it > performance or was it just the easiest way to implement it using an > existing object? I thought this was answered adequately by my last entry in the SF bug report. The short answer is performance in the common case. --Guido van Rossum (home page: http://www.python.org/~guido/)