style question: anything wrong with super(type(self), self).f() ?

Delaney, Timothy (Tim) tdelaney at
Tue Sep 20 00:17:10 CEST 2005

As Tom said, using super(type(self), self) will fail when your class
gets subclassed. Otherwise we wouldn't have needed that kind of syntax
in the first place.

You may be interested in my self.super recipe:

and the considerably faster version available at:

Tim Delaney

More information about the Python-list mailing list