This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author yavuz164
Recipients QuantumTim, yavuz164
Date 2008-12-11.16:10:55
SpamBayes Score 0.0008684832
Marked as misclassified No
Message-id <1229011857.07.0.994932613207.issue4633@psf.upfronthosting.co.za>
In-reply-to
Content
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(<file pointer>,0)"? 

The documentation you pointed to implies that, in "for name in file:"
loop a clean backtracking is not possible. Am I missing something?

Thanks.
History
Date User Action Args
2008-12-11 16:10:57yavuz164setrecipients: + yavuz164, QuantumTim
2008-12-11 16:10:57yavuz164setmessageid: <1229011857.07.0.994932613207.issue4633@psf.upfronthosting.co.za>
2008-12-11 16:10:56yavuz164linkissue4633 messages
2008-12-11 16:10:55yavuz164create