[Python-Dev] Classes and Metaclasses in Smalltalk

Guido van Rossum guido@digicool.com
Wed, 02 May 2001 09:30:20 -0500


> This doesn't work in Python since Python has multiple inheritence,
> e.g. super in 
> 
> class A(B,C):
> 	def foo(self):
> 		super.foo()
> 
> is ambiguous.

I'm not sure what you mean.  The search is totally well-defined: first
search B for a foo method, then search C.

> I'd rather suggest adding a function for finding the basemethod
> of a method. This is probably the most common task in this context.

I've never heard of the concept of basemethod, but if I may venture a
guess, it would be the same definition as I give above.

--Guido van Rossum (home page: http://www.python.org/~guido/)