TL; DR
As the OP said: “Is this possible in Python 2.6+ without explicit hacks?”, Answer: No
Long version
You can create a simple decorator that will call the next parent with this method. The problem is that you will not have control over the arguments you want to pass.
Edit:
, autosuper, .
def autosuper(fn):
def f(self, *args, **kw):
cl = super(type(self), self)
getattr(cl, fn.__name__)(*args, **kw)
return fn(self, *args, **kw)
return f
? Python 3.x super, !
, Python 3.x super - , , __class__, !
, , __class__, co_freevars frame f_code . super ( ), __class__ co_freevars, , . , __class__, super, - LOAD_DEFER LOAD_GLOBAL, undefined.
, hyper = super hyper ( , super).
Python Interpreter , autosuper ( __class__, Python 2.x), , .
, , , . :
- , , .
unbound method ( Py3k), im_class.- , (, ,
__class__ , ) - , OP, , .