Message20122
Logged In: YES
user_id=195958
The problem is that inspect.get_class_attrs()'s "method"
classification is a bit hetergeneous: it contains methods,
and any method descriptors *except* classmethod and
staticmethod. The proposed patch will fix behavior for
super(), but not for any other method descriptors. So
perhaps it would be better to explicitly test "_isfunction(v)
or _ismethod(v)" rather than "not isinstance(value,
super)".
|
|
Date |
User |
Action |
Args |
2007-08-23 14:20:12 | admin | link | issue902628 messages |
2007-08-23 14:20:12 | admin | create | |
|