[issue1677872] Efficient reverse line iterator
Guido van Rossum
report at bugs.python.org
Mon Dec 10 20:38:34 CET 2007
Guido van Rossum added the comment:
I'd like to see the doc patches separated out and applied to 2.6 --
they'll automatically merge into 3.0 then. Make that a separate bug please.
I like the idea, haven't had time to carefully review the code, but
noticed one oddity:
>>> for line in reversed(open("/etc/passwd")): print(line, end="")
immediately raises
ValueError: I/O operation on closed file
----------
nosy: +gvanrossum
_____________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1677872>
_____________________________________
More information about the Python-bugs-list
mailing list