From e35399ea7ba71e2f9fa7e6f02203dd6a91b01a10 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Sun, 10 Jan 1993 18:33:56 +0000 Subject: Checking in last-minute changes that are already part of release 0.9.8 --- Modules/config.c.in | 6 +++--- Objects/fileobject.c | 5 +++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Modules/config.c.in b/Modules/config.c.in index cfe82d7..1d84020 100644 --- a/Modules/config.c.in +++ b/Modules/config.c.in @@ -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 diff --git a/Objects/fileobject.c b/Objects/fileobject.c index 00020dc..b84819e 100644 --- a/Objects/fileobject.c +++ b/Objects/fileobject.c @@ -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); } -- cgit v0.12