From: Guido van Rossum Date: Wed, 16 Apr 2003 20:01:36 +0000 (+0000) Subject: Sigh. The crucial change was still missing from the previous X-Git-Tag: v2.3c1~1162 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6cc5bb685db13616f3f6474b9556d9bfc5195b20;p=python Sigh. The crucial change was still missing from the previous checkin. :-( --- diff --git a/Objects/typeobject.c b/Objects/typeobject.c index d45ee89adb..1bfda32127 100644 --- a/Objects/typeobject.c +++ b/Objects/typeobject.c @@ -5399,7 +5399,7 @@ super_getattro(PyObject *self, PyObject *name) else continue; res = PyDict_GetItem(dict, name); - if (res != NULL && !PyDescr_IsData(res)) { + if (res != NULL) { Py_INCREF(res); f = res->ob_type->tp_descr_get; if (f != NULL) {