Expand Up
@@ -885,6 +885,8 @@ def spill(msg, attrs, predicate):
push(msg)
for name, kind, homecls, value in ok:
try:
if inspect._is_class_property(object, name):
raise Exception("class property")
value = getattr(object, name)
except Exception:
# Some descriptors may meet a failure in their __get__.
Expand Down
Expand Up
@@ -1368,6 +1370,8 @@ def spill(msg, attrs, predicate):
push(msg)
for name, kind, homecls, value in ok:
try:
if inspect._is_class_property(object, name):
raise Exception("class property")
value = getattr(object, name)
except Exception:
# Some descriptors may meet a failure in their __get__.
Expand Down