diff options
author | Guido van Rossum <guido@python.org> | 1993-01-10 18:33:56 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1993-01-10 18:33:56 (GMT) |
commit | e35399ea7ba71e2f9fa7e6f02203dd6a91b01a10 (patch) | |
tree | 1aa6e1579863912561a2a106afb5a24804b07976 | |
parent | 775f4dacbc8163f085e07ea4195cf5b67dce5124 (diff) | |
download | cpython-e35399ea7ba71e2f9fa7e6f02203dd6a91b01a10.zip cpython-e35399ea7ba71e2f9fa7e6f02203dd6a91b01a10.tar.gz cpython-e35399ea7ba71e2f9fa7e6f02203dd6a91b01a10.tar.bz2 |
Checking in last-minute changes that are already part of release 0.9.8
-rw-r--r-- | Modules/config.c.in | 6 | ||||
-rw-r--r-- | 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 <stdio.h> 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); } |