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:
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/286195

and the considerably faster version available at:
http://members.optusnet.com.au/tcdelaney/python.html#autosuper

Tim Delaney
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to