[Python-Dev] New Super PEP

Greg Ewing greg.ewing at canterbury.ac.nz
Mon Apr 30 03:03:16 CEST 2007


skip at pobox.com wrote:
> Since the language doesn't require that a subclassed method take the same
> parameters as the base class method, you can't assume that it does.

The argument is that in the special case of a cooperative
super call, it doesn't make sense for the parameter list
to be different, because you don't know which method
you're calling, so the signature of all methods along
the super chain has to be standardised.

--
Greg


More information about the Python-Dev mailing list