[Python-ideas] Is multiple inheritance Pythonic?

M.-A. Lemburg mal at egenix.com
Fri Mar 18 16:44:13 EDT 2016


On 18.03.2016 19:11, Martin Teichmann wrote:
> Is multiple inheritance bad, or not Pythonic?

Definitely not.

But at the same time, it's not always the answer to everything
either.

Preventing subclassing of code is usually a conscious design
decision in Python and has it's purpose as well, e.g. to
reduce performance overhead by not having to worry about corner
cases which the base code does not address.

-- 
Marc-Andre Lemburg
eGenix.com

Professional Python Services directly from the Experts (#1, Mar 18 2016)
>>> Python Projects, Coaching and Consulting ...  http://www.egenix.com/
>>> Python Database Interfaces ...           http://products.egenix.com/
>>> Plone/Zope Database Interfaces ...           http://zope.egenix.com/
________________________________________________________________________
2016-03-07: Released eGenix pyOpenSSL 0.13.14 ... http://egenix.com/go89
2016-02-19: Released eGenix PyRun 2.1.2 ...       http://egenix.com/go88

::: We implement business ideas - efficiently in both time and costs :::

   eGenix.com Software, Skills and Services GmbH  Pastor-Loeh-Str.48
    D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg
           Registered at Amtsgericht Duesseldorf: HRB 46611
               http://www.egenix.com/company/contact/
                      http://www.malemburg.com/



More information about the Python-ideas mailing list