Propagating function calls

2009-02-10 Thread Noam Aigerman
Suppose I have a python object X, which holds inside it a python object Y. How can I propagate each function call to X so the same function call in Y will be called, i.e: X.doThatFunkyFunk() Would cause Y.doThatFunkyFunk() Thanks, Noam -- http://mail.python.org/mailman/listinfo/python-list

Re: Propagating function calls

2009-02-10 Thread Chris Rebert
On Tue, Feb 10, 2009 at 5:02 PM, Noam Aigerman no...@answers.com wrote: Suppose I have a python object X, which holds inside it a python object Y. How can I propagate each function call to X so the same function call in Y That'd be a method call actually, not a function call. will be called,

Re: Propagating function calls

2009-02-10 Thread James Mills
On Wed, Feb 11, 2009 at 11:02 AM, Noam Aigerman no...@answers.com wrote: Suppose I have a python object X, which holds inside it a python object Y. How can I propagate each function call to X so the same function call in Y will be called, i.e: X.doThatFunkyFunk() Would cause