mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +00:00
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:
parent
cbaddb52ae
commit
21d335ed9e
3 changed files with 130 additions and 104 deletions
|
@ -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++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue