Re: Inheritance/Late Private Binding

2005-07-06 Thread Michael Hoffman
Jeremy Moles wrote: > Forgive me if this topic has been brought up before, but I was curious > as to why I was getting this behavior and was hoping someone > knowledgeable could explain. :) What behavior? > I "feel" like even without the explicit call to a simple base ctor(), > mangling should s

Inheritance/Late Private Binding

2005-07-06 Thread Jeremy Moles
class BaseClass: def __init__(self): self.__data = None def getMember(self): return self.__data class GoodSubClass(BaseClass): def __init__(self): BaseClass.__init__(self) class BadSubClass(BaseClass): def __init__(s