[Python-checkins] python/dist/src/Objects fileobject.c, 2.179.8.3, 2.179.8.4

loewis at users.sourceforge.net loewis at users.sourceforge.net
Sat Oct 18 05:37:14 EDT 2003


Update of /cvsroot/python/python/dist/src/Objects
In directory sc8-pr-cvs1:/tmp/cvs-serv13026/Objects
Modified Files:
 Tag: release23-maint
	fileobject.c 
Log Message:
Patch #809535: Mention behaviour of seek on text files.
Index: fileobject.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/fileobject.c,v
retrieving revision 2.179.8.3
retrieving revision 2.179.8.4
diff -C2 -d -r2.179.8.3 -r2.179.8.4
*** fileobject.c	16 Sep 2003 05:29:50 -0000	2.179.8.3
--- fileobject.c	18 Oct 2003 09:37:12 -0000	2.179.8.4
***************
*** 1622,1626 ****
 "(move relative to current position, positive or negative), and 2 (move\n"
 "relative to end of file, usually negative, although many platforms allow\n"
! "seeking beyond the end of a file).\n"
 "\n"
 "Note that not all file objects are seekable.");
--- 1622,1628 ----
 "(move relative to current position, positive or negative), and 2 (move\n"
 "relative to end of file, usually negative, although many platforms allow\n"
! "seeking beyond the end of a file). If the file is opened in text mode,\n"
! "only offsets returned by tell() are legal. Use of other offsets causes\n"
! "undefined behavior."
 "\n"
 "Note that not all file objects are seekable.");


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /