'super' to only be used for diamond inheritance problems?
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.python archive

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

From: Alex Hunsley <lard@tardis.ed.ac.molar.uk>
Date: Mon Oct 31 2005 - 11:10:32 CET

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?
Received on Mon Nov 21 01:07:22 2005