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.
This commit is contained in:
Guido van Rossum 1993-10-15 13:01:11 +00:00
parent cbaddb52ae
commit 21d335ed9e
3 changed files with 130 additions and 104 deletions

View file

@ -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++) {