Yavuz Onder <[EMAIL PROTECTED]> added the comment:
O.K. But, is there a way to backtrack to the beginning of the last read
line, without explicitly implementing accounting of the real file
pointer in the code, and doing "seek(,0)"?
The documentation you pointed to implies that,
New submission from Yavuz Onder <[EMAIL PROTECTED]>:
I find that file.tell returns not the byte offset of the next byte, but
possibly the byte offset of the next block to be read. I find it always
to be a multiple of 1024. Following is a demo of the bug. where I read a
few lines into