Giovanni Bajo wrote: > 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: > http://fuhm.org/super-harmful/ > It would help to have some clearer guidelines on class (type) usage. I like James Knight's (fuhm) suggestion with respect to consistent signatures.
Colin W. -- http://mail.python.org/mailman/listinfo/python-list