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/2011-April/110754.html below:

[Python-Dev] python and super

[Python-Dev] python and super [Python-Dev] python and superGreg Ewing greg.ewing at canterbury.ac.nz
Sat Apr 16 01:56:08 CEST 2011
Michael Foord wrote:
> But you have to be aware that 
> because of the semantics of super, not calling up to your parents 
> basically prevents those methods being used in the presence of multiple 
> inheritance.

No, it prevents them being used in the presence of super().
Multiple inheritance is still possible the old-fashioned way
using explicit upcalls as long as the classes are sufficiently
independent.

If they're *not* sufficiently independent, and haven't been
specifically designed to cooperate with each other, attempting
to make them cooperate automatically is as likely to do harm
as good.

-- 
Greg
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