summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1993-10-15 13:01:11 (GMT)
committerGuido van Rossum <guido@python.org>1993-10-15 13:01:11 (GMT)
commit21d335ed9ef6fbb16341809fe224b45a3f41243f (patch)
treecbae924f55ae38b4ab599b592c8b2d9c2b98cd25 /Modules
parentcbaddb52aed1076db123e81529781985b2386181 (diff)
downloadcpython-21d335ed9ef6fbb16341809fe224b45a3f41243f.zip
cpython-21d335ed9ef6fbb16341809fe224b45a3f41243f.tar.gz
cpython-21d335ed9ef6fbb16341809fe224b45a3f41243f.tar.bz2
Makefile, import.c: Lance's alternative module search (allow .pyc file
without .py file); Bill's dynamic loading for SunOS using shared libraries. pwdmodule.c (mkgrent): remove DECREF of uninitialized variable. classobject.c (instance_getattr): Fix case when class lookup returns unbound method instead of function.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/pwdmodule.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/Modules/pwdmodule.c b/Modules/pwdmodule.c
index eb7a1cc..00ea348 100644
--- a/Modules/pwdmodule.c
+++ b/Modules/pwdmodule.c
@@ -120,7 +120,6 @@ static object *mkgrent(p)
object *v, *w;
char **member;
if ((w = newlistobject(0)) == NULL) {
- DECREF(v);
return NULL;
}
for (member = p->gr_mem; *member != NULL; member++) {