|
From: Luigi B. <lui...@fa...> - 2003-11-11 13:46:49
|
On 2003.11.11 06:07, Andre Louw wrote: > Luigi, > > The Observer side works well (even using inheritance), the problem > being that Python objects can only observe QuantLib C++ objects > (those defined as type 'isObservable' in their SWIG interface files). > I'm looking at the other side where a Python object becomes > observable by other Python objects. > > Something in the line of > > class Foo(Observable): > def __init__(self): > Observable.__init__(self) > def changeMe(self): > self.notifyObservers() Oh, I see. Hmm, I'll have to give it some thought. Can you file this as a feature request? Later, Luigi |