'super' to only be used for diamond inheritance problems?

Giovanni Bajo noway at sorry.com
Tue Nov 1 01:28:12 CET 2005

Alex Hunsley wrote:

> I've seen a few discussion about the use of 'super' in Python,
> including the opinion that 'super' should only be used to solve
> inheritance diamond problem. (And that a constructor that wants to
> call the superclass methods should just call them by name and forget
> about super.) What is people's opinion on this? Does it make any
> sense?

I personally consider super a half-failure in Python. Some of my reasons are
cited here:

Giovanni Bajo

More information about the Python-list mailing list