A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2001-May/014524.html below:

[Python-Dev] Classes and Metaclasses in Smalltalk

[Python-Dev] Classes and Metaclasses in Smalltalk [Python-Dev] Classes and Metaclasses in SmalltalkGuido 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/)



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4