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/2006-July/067518.html below:

[Python-Dev] Problem with super() usage

[Python-Dev] Problem with super() usage [Python-Dev] Problem with super() usageJean-Paul Calderone exarkun at divmod.com
Tue Jul 18 15:24:57 CEST 2006
On Tue, 18 Jul 2006 09:10:11 -0400, Scott Dial <scott+python-dev at scottdial.com> wrote:
>Greg Ewing wrote:
>> Guido van Rossum wrote:
>>> In the world where cooperative multiple inheritance
>>> originated (C++), this would be a static error.
>>
>> I wasn't aware that C++ had anything resembling super().
>> Is it a recent addition to the language?
>>
>
>It is much more explicit, but you call the function from the
>superclass's namespace:
>
> [snip - something totally unlike super]
>
>C++ has no concept of MRO, so "super()" would be completely ambiguous.

I think this was Greg's point.  Talking about C++ and super() is
nonsensical.

Jean-Paul
More information about the Python-Dev mailing list

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