[Python-Dev] xreadlines : readlines :: xrange : range

Guido van Rossum guido@python.org
Thu, 11 Jan 2001 10:28:23 -0500


> On Tru64 Unix, I get an infinite generator of 'r's (after an initial few
> 'w's) to the screen (but no crashes).

Same here on Linux.

> If I reduce the size of the loop
> counters from 1000000 to 3000, I get the following output:
> opened
> w w w w w w w w w w w w w w w w w w w w w w w w w w w r read 5114
> done

I still get an infinite amount of 'r's.

--Guido van Rossum (home page: http://www.python.org/~guido/)