Ron Provost wrote:
> class X( object ):
>fn = None
>@staticmethod
>def callX( n ):
> return X.fn( n )
> Now, the following global stuff represents my higher-level routines:
> def fn_impl( n ): # my callback
>return n + 1
> X.fn = fn_impl # register my callback
> No
Ron Provost wrote:
> Within an application I'm working on. The app is written in multiple
> layers such that lower layers provided services to higher layers.
> Ideally in such an architecture, the high-level objects know about
> lower-level ones, but lower-level objects know nothing about the
Within an application I'm working on. The app is written in multiple layers
such that lower layers provided services to higher layers. Ideally in such an
architecture, the high-level objects know about lower-level ones, but
lower-level objects know nothing about the higher-level ones. There's