When using Python's super() to do method chaining, you have to explicitly specify your own class, for example:
class MyDecorator(Decorator): def decorate(self): super(MyDecorator, self).decorate()
I have to specify the name of my class MyDecorator as an argument to super(). This is not DRY. When I rename my class now I will have to rename it twice. Why is this implemented this way? And is there a way to weasel out of having to write the name of the class twice(or more)?