[Patches] [ python-Patches-809535 ] Mention behavior of seek() on
text files
SourceForge.net
noreply at sourceforge.net
Sat Oct 18 05:38:37 EDT 2003
Patches item #809535, was opened at 2003-09-20 00:11
Message generated for change (Comment added) 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: Closed
>Resolution: Accepted
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: Martin v. Löwis (loewis)
Date: 2003-10-18 11:38
Message:
Logged In: YES
user_id=21627
Thanks for the patch. Applied as
libstdtypes.tex 1.129.8.5
fileobject.c 2.179.8.4
libstdtypes.tex 1.135
fileobject.c 2.185
----------------------------------------------------------------------
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