[Python-3000] PEP 3124 - Overloading, Generic Functions, Interfaces, etc.

Greg Ewing greg.ewing at canterbury.ac.nz
Wed May 16 02:19:29 CEST 2007


Christian Tanzer wrote:
> Greg Ewing <greg.ewing at canterbury.ac.nz> wrote:
> 
> > Phillip J. Eby wrote:
> >
> > > Imagine what would happen if the results of
> > > calling super() depended on what order your modules had been imported in!
> >
> > Actually, something like this does happen with super.
> 
> This is true but doesn't matter (which is the beauty of super).

Only because super methods are written with this
knowledge in mind, however. Seems to me you ought
to have something similar in mind when overloading
a generic function.

--
Greg


More information about the Python-3000 mailing list