Remove multiple inheritance in Python 3000

sturlamolden sturlamolden at yahoo.no
Thu Apr 24 22:40:43 EDT 2008


On Apr 22, 1:07 pm, GD <gmarke... at gmail.com> wrote:

> Please remove ability to multiple inheritance in Python 3000.

Too late for that, PEPs are closed.

> Multiple inheritance is bad for design, rarely used and contains many
> problems for usual users.
>
> Every program can be designed only with single inheritance.

That's how the Java designers were thinking as well: If MI is allowed,
programmers will suddenly get an irresistible urge to use MI to write
unmaintainable spaghetti code. So let's disallow MI for the sake of
common good. Fortunately, Python is not designed to be fool proof
against fools. If you cannot use MI properly, then don't use that.


> I also published this request athttp://bugs.python.org/issue2667

You reported MI as a bug???




More information about the Python-list mailing list