[Python-checkins] python/dist/src/Doc/lib libos.tex,1.151,1.152

loewis at users.sourceforge.net loewis at users.sourceforge.net
Sun Jan 23 10:19:24 CET 2005

Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19682/Doc/lib

Modified Files:
Log Message:
Truncate st_?time before comparing it with ST_?TIME in the tests.

Index: libos.tex
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libos.tex,v
retrieving revision 1.151
retrieving revision 1.152
diff -u -d -r1.151 -r1.152
--- libos.tex	19 Jan 2005 03:39:16 -0000	1.151
+++ libos.tex	23 Jan 2005 09:19:22 -0000	1.152
@@ -1012,6 +1012,9 @@
 it is False, future calls return ints.  If newval is omitted, return
 the current setting.
+For compatibility with older Python versions, accessing
+\class{stat_result} as a tuple always returns integers.
 \versionchanged[Python now returns float values by default. Applications
 which do not work correctly with floating point time stamps can use
 this function to restore the old behaviour]{2.5}

More information about the Python-checkins mailing list