file read : feature or bug ?

Jeff Epler jepler at
Tue Apr 15 18:26:17 CEST 2003

When you're using text files, seek will not operate as you expect.  The
C standard defines that only offsets returned by ftell are legal
arguments to fseek when working with a text file, and Python doesn't
prevent you from shooting yourself in the foot here.


More information about the Python-list mailing list