Remove multiple inheritance in Python 3000

Steve Holden steve at holdenweb.com
Thu Apr 24 22:49:59 EDT 2008


sturlamolden wrote:
> 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???
> 
The eventual disposition was "closed, invalid".

regards
  Steve
-- 
Steve Holden        +1 571 484 6266   +1 800 494 3119
Holden Web LLC              http://www.holdenweb.com/




More information about the Python-list mailing list