[Patches] [ python-Patches-809535 ] Mention behavior of seek() on text files

SourceForge.net noreply at sourceforge.net
Sat Sep 20 12:11:22 EDT 2003


Patches item #809535, was opened at 2003-09-20 00:11
Message generated for change (Settings changed) made by loewis
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=809535&group_id=5470

Category: Documentation
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Jeff Epler (jepler)
>Assigned to: Martin v. Löwis (loewis)
Summary: Mention behavior of seek() on text files

Initial Comment:
Document the fact that seek() on text files can lead to

undefined results, rather than leaving the user to read

ftell() docs to find out.  

----------------------------------------------------------------------

Comment By: Jeff Epler (jepler)
Date: 2003-09-20 16:55

Message:
Logged In: YES 
user_id=2772

":se of other offsets" should have read "Use of other offsets".  Or else it should match the libstdtypes.tex wording, "Other offsets cause undefined behavior."  The patch I'm attaching now says "Use of other offets causes", and copies the docstring warning "not all file objects are seekable" into the tex documentation.

----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2003-09-20 13:07

Message:
Logged In: YES 
user_id=21627

what do you mean with



"  :se of other offsets"



???

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=809535&group_id=5470



More information about the Patches mailing list