]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Checking in last-minute changes that are already part of release 0.9.8
authorGuido van Rossum <guido@python.org>
Sun, 10 Jan 1993 18:33:56 +0000 (18:33 +0000)
committerGuido van Rossum <guido@python.org>
Sun, 10 Jan 1993 18:33:56 +0000 (18:33 +0000)
Modules/config.c.in
Objects/fileobject.c

index cfe82d731ae2a3e39328c01ad5c56c222c61f3da..1d840202bde1e7af074791dd37b612eaaaa67baf 100644 (file)
@@ -1,6 +1,6 @@
 /***********************************************************
-Copyright 1991, 1992 by Stichting Mathematisch Centrum, Amsterdam, The
-Netherlands.
+Copyright 1991, 1992, 1993 by Stichting Mathematisch Centrum,
+Amsterdam, The Netherlands.
 
                         All Rights Reserved
 
@@ -45,7 +45,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 #ifdef __DATE__
 #define DATE __DATE__
 #else
-#define DATE ">= 1 Jan 1993"
+#define DATE ">= 8 Jan 1993"
 #endif
 
 #include <stdio.h>
index 00020dcbb037d85c23c51bb79c160bf6806d8a25..b84819e3fbad74559810a9aaf9ba70551a18df2a 100644 (file)
@@ -136,10 +136,11 @@ file_repr(f)
        fileobject *f;
 {
        char buf[300];
-       sprintf(buf, "<%s file '%.256s', mode '%.10s'>",
+       sprintf(buf, "<%s file '%.256s', mode '%.10s' at %lx>",
                f->f_fp == NULL ? "closed" : "open",
                getstringvalue(f->f_name),
-               getstringvalue(f->f_mode));
+               getstringvalue(f->f_mode),
+               (long)f);
        return newstringobject(buf);
 }