Is there some reason why I shouldn't use the syntax in Baz?
Yes, there is a reason you should not use this syntax. If you subclass out Baz, the call super()will return to Baz.whee()and you will be stuck in an infinite loop. This also applies to the syntax super(type(self), self).whee().
(Well, in fact, you will cross out the limit of recursion and error. But in any case, this is a problem.)
Kevin source
share