Amaury Forgeot d'Arc <amaur...@gmail.com> added the comment: Yes, this behavior is documented.
There is one test that mixes iteration and readline, in test.test_io.TextIOWrapperTest.testSeeking, but it shows a difference between the two methods: to be faster, __next__ disables the tell() function. ---------- nosy: +amaury.forgeotdarc _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5323> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com