On Fri, Jun 6, 2014 at 9:20 PM, Alain Ketterlin <al...@dpt-info.u-strasbg.fr> wrote: >> It's impossible to accidentally call a base class's method when you >> ought to have called the overriding method in the subclass, which is a >> risk in C++ [2]. > > I don't how this can happen in C++, unless you actually have an instance > of the base class. Anyway, I didn't mention C++.
Mostly if you forget to declare the method 'virtual'; there are other ways to muck things up, but that's the main one. ChrisA -- https://mail.python.org/mailman/listinfo/python-list