Alex Martelli wrote:
> Kay Schluehr <[EMAIL PROTECTED]> wrote:
>...
> > To prevent unintended inheritance C# introduced a relatively complex
> > contract semantics using three modifiers virtual, override and new. Is
> > this issue serious for Python progra
Kay Schluehr <[EMAIL PROTECTED]> wrote:
...
> To prevent unintended inheritance C# introduced a relatively complex
> contract semantics using three modifiers virtual, override and new. Is
> this issue serious for Python programmers, in particular for those
> working in larger
The problem of unintended inheritance is typical for OO frameworks and
can be explained as follows. Given a class Foo implemented by Alice and
a derived class Bar of Foo implemented by Bob. Bar implements a method
f. In a later version of Foo Alice also implements a method f. The f of
Bar